diff -r 8ab6687fb94c -r 3adadc800673 telephonyprotocols/psdagt/src/PSDAGTBase.cpp --- a/telephonyprotocols/psdagt/src/PSDAGTBase.cpp Thu May 27 14:05:07 2010 +0300 +++ b/telephonyprotocols/psdagt/src/PSDAGTBase.cpp Fri Jun 11 14:49:29 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(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(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);