From: Vadim Zeitlin Date: Thu, 18 Jan 2001 18:10:56 +0000 (+0000) Subject: added timestamping to wxLogStream X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/29fd317b4b5f7e9020ebb6f1187c5f8b3c28d5a3 added timestamping to wxLogStream git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/log.cpp b/src/common/log.cpp index 6e102e6753..7268dddc04 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -543,7 +543,9 @@ wxLogStream::wxLogStream(ostream *ostr) void wxLogStream::DoLogString(const wxChar *szString, time_t WXUNUSED(t)) { - (*m_ostr) << wxConvertWX2MB(szString) << endl; + wxString str; + TimeStamp(&str); + (*m_ostr) << str << wxConvertWX2MB(szString) << endl; } #endif // wxUSE_STD_IOSTREAM