]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/log.h
compilation fix for windows compilers: _wrename is declared in io.h
[wxWidgets.git] / include / wx / log.h
index de2b9b817a8d19ce26c71df284a0403e76e759c7..9166b7ee502f830dccd7b29bd8a79a3c06803e87 100644 (file)
@@ -208,11 +208,14 @@ public:
     // get string trace masks
     static const wxArrayString &GetTraceMasks() { return ms_aTraceMasks; }
 
-    // sets the timestamp string: this is used as strftime() format string
-    // for the log targets which add time stamps to the messages - set it
-    // to NULL to disable time stamping completely.
+    // sets the time stamp string format: this is used as strftime() format
+    // string for the log targets which add time stamps to the messages; set
+    // it to empty string to disable time stamping completely.
     static void SetTimestamp(const wxString& ts) { ms_timestamp = ts; }
 
+    // disable time stamping of log messages
+    static void DisableTimestamp() { SetTimestamp(wxEmptyString); }
+
 
     // accessors