added wxLog::DisableTimestamp() to be used as a synonym for SetTimestamp(wxEmptyString)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user