enable verbose messages by default in debug builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -239,7 +239,14 @@ void WXDLLEXPORT wxLogSysError(long lErrCode, const char *szFormat, ...)
|
|||||||
wxLog::wxLog()
|
wxLog::wxLog()
|
||||||
{
|
{
|
||||||
m_bHasMessages = FALSE;
|
m_bHasMessages = FALSE;
|
||||||
m_bVerbose = FALSE;
|
|
||||||
|
// enable verbose messages by default in the debug builds
|
||||||
|
#ifdef __WXDEBUG__
|
||||||
|
m_bVerbose = TRUE;
|
||||||
|
#else // release
|
||||||
|
m_bVerbose = FALSE;
|
||||||
|
#endif // debug/release
|
||||||
|
|
||||||
m_szTimeFormat = "[%d/%b/%y %H:%M:%S] ";
|
m_szTimeFormat = "[%d/%b/%y %H:%M:%S] ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user