diff options
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 12a51070d..a177b895e 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -25,7 +25,9 @@ #include <iostream> #include <sstream> +#ifdef ENABLEDEBUGLOG #include "gui/widgets/tabs/chattab.h" +#endif #ifdef WIN32 #include <windows.h> @@ -95,6 +97,7 @@ void Logger::log(const std::string &str) log("%s", str.c_str()); } +#ifdef ENABLEDEBUGLOG void Logger::dlog(const std::string &str) { if (!mDebugLog) @@ -118,6 +121,7 @@ void Logger::dlog(const std::string &str) if (mChatWindow && debugChatTab) debugChatTab->chatLog(str, BY_LOGGER); } +#endif void Logger::log1(const char *const buf) { |