From a2ace6ff1fc946a302a273d010a995db6ad63ed8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 15 Feb 1999 19:26:17 +0000 Subject: [PATCH] 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 --- src/common/log.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/common/log.cpp b/src/common/log.cpp index 03267bf2d3..25016cd325 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -239,7 +239,14 @@ void WXDLLEXPORT wxLogSysError(long lErrCode, const char *szFormat, ...) wxLog::wxLog() { 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] "; } -- 2.45.2