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:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user