equal
deleted
inserted
replaced
31 #define SIPPROFILELOG_H |
31 #define SIPPROFILELOG_H |
32 |
32 |
33 #include <e32std.h> |
33 #include <e32std.h> |
34 |
34 |
35 #ifdef _DEBUG |
35 #ifdef _DEBUG |
36 // RFileLogger has been redefined in Commsdebugutility.H |
36 #include "OstTraceDefinitions.h" |
37 // This is a bug in Symbian 9.5. |
37 #ifdef OST_TRACE_COMPILER_IN_USE |
38 // Using __FLOG_ACTIVE from Commsdebugutility.H to avoid build break |
38 #include "SipProfileLogTraces.h" |
39 #if !defined(CPPUNIT_TEST) |
39 #define USE_SIP_PROFILE_LOGS |
40 // Comment the following line to turn off all kind of logging: |
40 #endif |
41 #define USE_SIP_PROFILE_LOGS |
|
42 #endif |
|
43 |
|
44 #endif |
41 #endif |
45 |
42 |
46 |
43 |
47 #ifdef USE_SIP_PROFILE_LOGS |
44 #ifdef USE_SIP_PROFILE_LOGS |
48 // CLASS DECLARATION |
45 // CLASS DECLARATION |
67 inline static void Print(const TDesC16& aStr, TUint32 aValue1, |
64 inline static void Print(const TDesC16& aStr, TUint32 aValue1, |
68 TUint32 aValue2, TUint32 aValue3); |
65 TUint32 aValue2, TUint32 aValue3); |
69 |
66 |
70 inline static void Print(const TDesC16& aStr1, |
67 inline static void Print(const TDesC16& aStr1, |
71 const TDesC8& aStr2); |
68 const TDesC8& aStr2); |
72 private: |
|
73 inline static TBool LogDirExists( const TDesC& aPath ); |
|
74 |
69 |
75 inline static void WriteToFile( const TDesC& aStr ); |
|
76 |
|
77 inline static void WriteLog( const TDesC& aStr ); |
|
78 }; |
70 }; |
79 |
71 |
80 #include "SipProfileLog.inl" |
72 #include "SipProfileLog.inl" |
81 |
73 |
82 /** |
74 /** |