emailservices/emaildebug/inc/emailtrace.h
branchRCL_3
changeset 8 e1b6206813b4
parent 0 8466d47a6819
child 24 d189ee25cf9d
--- a/emailservices/emaildebug/inc/emailtrace.h	Tue Feb 02 00:02:40 2010 +0200
+++ b/emailservices/emaildebug/inc/emailtrace.h	Fri Feb 19 22:37:30 2010 +0200
@@ -347,7 +347,7 @@
 //
 #if defined(TIMESTAMP_TRAC)
 
-    #if defined(TRACE_INTO_FIL)
+    #if defined(TRACE_INTO_FILE)
 
         #define TIMESTAMP( aCaption )\
             {\
@@ -355,9 +355,9 @@
             t.HomeTime();\
             TDateTime dt = t.DateTime();\
             _LIT( KMsg, aCaption );\
-            _LIT( KFormat, "[TIMESTAMP] %S %d:%02d:%02d.%d us");\
+            _LIT( KFormat, "[TIMESTAMP] %d:%02d:%02d.%06d us %S");\
             RFileLogger::WriteFormat(  KEmailDir,  KEmailTraceFile, EFileLoggingModeAppend, KFormat,\
-                &KMsg, dt.Hour(), dt.Minute(), dt.Second(), dt.MicroSecond() );\
+                dt.Hour(), dt.Minute(), dt.Second(), dt.MicroSecond(), &KMsg );\
             }
 
     #else//TRACE_INTO_FILE not defined
@@ -368,9 +368,9 @@
             t.HomeTime();\
             TDateTime dt = t.DateTime();\
             _LIT( KMsg, aCaption );\
-            _LIT( KFormat, "[TIMESTAMP] %S %d:%02d:%02d.%d us");\
+            _LIT( KFormat, "[TIMESTAMP] %d:%02d:%02d.%06d us %S");\
             RDebug::Print( KFormat,\
-                &KMsg, dt.Hour(), dt.Minute(), dt.Second(), dt.MicroSecond() );\
+                dt.Hour(), dt.Minute(), dt.Second(), dt.MicroSecond(), &KMsg );\
             }
 
     #endif//TRACE_INTO_FILE