telephonyserverplugins/ctsydispatchlayer/exportinc/ltsylogger.h
branchRCL_3
changeset 19 630d2f34d719
parent 0 3553901f7fa8
child 20 07a122eea281
--- a/telephonyserverplugins/ctsydispatchlayer/exportinc/ltsylogger.h	Thu Aug 19 11:03:36 2010 +0300
+++ b/telephonyserverplugins/ctsydispatchlayer/exportinc/ltsylogger.h	Tue Aug 31 16:23:08 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2008-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"
@@ -27,18 +27,11 @@
 
 #include <e32base.h>
 
-#ifdef _DEBUG
+#ifdef OST_TRACE_COMPILER_IN_USE
 
-#include <comms-infras/commsdebugutility.h>
 _LIT8(KTsySubSystem, "tsy");
 _LIT8(KTsyCompnt, "ctsydis");
 
-	/** Regular logging macro */
-	#define LOG(format, ARGS...)	\
-		{ \
-		RFileLogger::WriteFormat(KTsySubSystem, KTsyCompnt, format, ##ARGS); \
-		}
-	
 	/** Macros to log function entry and exit */
 	//#define TSYLOGENTRYEXIT(aFunc) 	TLogEntryExit __logger((aFunc), KTsyCompnt)
 	
@@ -84,7 +77,6 @@
 	
 #else // _DEBUG
 
-	#define LOG(format, ARGS...)
 	#define TSYLOGENTRYEXIT
 	#define TSYLOGENTRYEXITARGS(aFunc, aFmt, ARGS...)
 	#define TSYLOGSETEXITERR(aErr)	aErr // So that we don't lose the return code in UREL!