telephonyserver/etelserverandcore/SETEL/ET_SES.CPP
branchRCL_3
changeset 65 630d2f34d719
parent 0 3553901f7fa8
child 66 07a122eea281
child 73 70d75957b98f
--- a/telephonyserver/etelserverandcore/SETEL/ET_SES.CPP	Thu Aug 19 11:03:36 2010 +0300
+++ b/telephonyserver/etelserverandcore/SETEL/ET_SES.CPP	Tue Aug 31 16:23:08 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1997-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"
@@ -18,11 +18,16 @@
 */
 
 
+
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "ET_SESTraces.h"
+#endif
+
 #include "ET_SSTD.H"
 #include "e32svr.h"
 #include "et_record.h"
 
-
 #define DOUBLE_COLON		_L("::")
 #define ETEL_NAME			_L("Etel")
 #define TSY_EXTENSION		_L(".TSY")
@@ -98,7 +103,7 @@
 		CObject* theObj=NULL;
 		TInt count=iObjectIx->Count();
 
-		LOGTEXT2("CTelSession::~CTelSession iObjectIx->Count()=%d", count);
+		OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CTELSESSION_DTOR_1, "CTelSession::~CTelSession iObjectIx->Count()=%d", count);
 		
 		for(TInt i=0;i<count;i++)
 			{
@@ -130,14 +135,14 @@
 					}
 				}
 			}
-		LOGTEXT("Delete iObjectIx");
+		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CTELSESSION_DTOR_2, "Delete iObjectIx");
 		delete iObjectIx;
 		}
 
 
 	if (iTsyModulesIx)
 		{
-		LOGTEXT("Delete TsyModulesIx");
+		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CTELSESSION_DTOR_3, "Delete TsyModulesIx");
 		delete iTsyModulesIx;
 		}
 	UnsetPriorityClient();
@@ -162,7 +167,7 @@
 // Handle messages for this session
 //
 	{
-	LOGTEXT2("CTelSession::Service Called, IPC: %d", aMessage.Function());
+	OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CTELSESSION_SERVICEL_1, "CTelSession::Service Called, IPC: %d", aMessage.Function());
 
 	iMessage=aMessage;
 
@@ -813,7 +818,7 @@
 	TRAP(res,(newObject=iPhoneManager->OpenPhoneFromFactoryL(phoneFactory,name)));
 	if(res!=KErrNone)
 		{
-		LOGTEXT2("Open Phone from Factory returned %d", res);
+		OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CTELSESSION_NEWTELOBJECT_1, "Open Phone from Factory returned %d", res);
 		if(newObject)
 			newObject->TelObjectClose();
 		else