X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..8af28fabffca3144a38602fa801205cd1183533c:/include/wx/log.h diff --git a/include/wx/log.h b/include/wx/log.h index cfe6b679e4..5a2c119abc 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -243,6 +243,14 @@ public: // change it otherwise) static void TimeStamp(wxString *str); + // this method should only be called from derived classes DoLog() + // implementations and shouldn't be called directly, use logging functions + // instead + void Log(wxLogLevel level, const wxString& msg, time_t t) + { + DoLog(level, msg, t); + } + // make dtor virtual for all derived classes virtual ~wxLog(); @@ -256,7 +264,7 @@ public: #endif protected: - // the logging functions that can be overriden + // the logging functions that can be overridden // default DoLog() prepends the time stamp and a prefix corresponding // to the message to szString and then passes it to DoLogString()