telephonyprotocols/psdagt/src/PSDAGTBase.cpp
branchRCL_3
changeset 65 630d2f34d719
parent 0 3553901f7fa8
child 66 07a122eea281
--- a/telephonyprotocols/psdagt/src/PSDAGTBase.cpp	Thu Aug 19 11:03:36 2010 +0300
+++ b/telephonyprotocols/psdagt/src/PSDAGTBase.cpp	Tue Aug 31 16:23:08 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -19,8 +19,13 @@
  @file PSDAGTBase.cpp
 */
 
+
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "PSDAGTBaseTraces.h"
+#endif
+
 #include "PSDAGTBase.h"
-#include "debuglogger.h"
 #include "psdagt.h"
 
 /**
@@ -120,20 +125,16 @@
 @exception Panics if connection direction is unknown.
 */
 	{
-	__FLOG_STMT(_LIT8(logString1,"GPRS:\tCreating a new PSD state machine - %s");)
-	
 	if (aDirection==ECommDbConnectionDirectionOutgoing)
 		{
-		__FLOG_STMT(const TText8 direction[] = "Outbound";)
-		__FLOG_STATIC1(KPsdAgxLogFolder(),KPsdAgxLogFile(),TRefByValue<const TDesC8>(logString1()),&direction);
+		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPSDAGENT_CREATEAGENTSML_1,"GPRS:\tCreating a new PSD state machine - Outbound");
 		return CPsdOutSM::NewL(aObserver,aDlgPrc,aDb);
 		}
 	else 
 		{
 #ifndef INCOMING_NOT_SUPORTED
 		__ASSERT_ALWAYS(aDirection==ECommDbConnectionDirectionIncoming, PanicAgx(EPsdBadDirection));
-		__FLOG_STMT(const TText8 direction[] = "Inbound";)
-		__FLOG_STATIC1(KPsdAgxLogFolder(),KPsdAgxLogFile(),TRefByValue<const TDesC8>(logString1()),&direction);
+		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPSDAGENT_CREATEAGENTSML_2,"GPRS:\tCreating a new PSD state machine - Inbound");
 		return CPsdInSM::NewL(aObserver,aDlgPrc,aDb);
 #else
 		User::Leave(KErrNotSupported);