added timestamping to wxLogStream

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-01-18 18:10:56 +00:00
parent 99d96a2b78
commit 29fd317b4b

View File

@ -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