]> git.saurik.com Git - wxWidgets.git/commitdiff
added timestamping to wxLogStream
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 18 Jan 2001 18:10:56 +0000 (18:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 18 Jan 2001 18:10:56 +0000 (18:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/log.cpp

index 6e102e6753222e5c26c60d35e16e062ab6495cf7..7268dddc04d171ec9350c60196a496a9e5b1f34e 100644 (file)
@@ -543,7 +543,9 @@ wxLogStream::wxLogStream(ostream *ostr)
 
 void wxLogStream::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
 {
 
 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
 
 }
 #endif // wxUSE_STD_IOSTREAM