From 29fd317b4b5f7e9020ebb6f1187c5f8b3c28d5a3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 18 Jan 2001 18:10:56 +0000 Subject: [PATCH] added timestamping to wxLogStream git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/log.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.45.2