diff -r e4420734a2a0 -r 36ea1f90a3d8 realtimenetprots/sipfw/ClientResolver/common/inc/SIPCRLogs.h --- a/realtimenetprots/sipfw/ClientResolver/common/inc/SIPCRLogs.h Tue Oct 19 05:33:24 2010 +0530 +++ b/realtimenetprots/sipfw/ClientResolver/common/inc/SIPCRLogs.h Thu Oct 21 15:53:21 2010 +0530 @@ -30,9 +30,12 @@ #include -#ifdef _DEBUG - // Comment the following line to turn off all kind of logging: - #define USE_SIP_CR_LOGS +#ifdef _DEBUG +#include "OstTraceDefinitions.h" +#ifdef OST_TRACE_COMPILER_IN_USE +#include "SIPCRLogsTraces.h" +#define USE_SIP_CR_LOGS +#endif #endif @@ -49,10 +52,7 @@ inline static void Print(const TDesC16& aStr, TInt aValue); - private: - inline static TBool LogDirExists( const TDesC& aPath ); - - inline static void WriteToFile( const TDesC& aStr ); + }; #include "SIPCRLogs.inl"