diff options
Diffstat (limited to 'src/log.cpp')
-rw-r--r-- | src/log.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/log.cpp b/src/log.cpp index 5880e108..a147c107 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -21,8 +21,6 @@ #include "log.h" -#include "gui/widgets/chattab.h" - #ifdef WIN32 #include <windows.h> #elif __APPLE__ @@ -32,11 +30,12 @@ #include <sys/time.h> #include <iostream> #include <sstream> +#include <stdarg.h> +#include <stdio.h> #include <stdlib.h> Logger::Logger(): - mLogToStandardOut(true), - mChatWindow(NULL) + mLogToStandardOut(true) { } @@ -99,11 +98,6 @@ void Logger::log(const char *log_text, ...) std::cout << timeStr.str() << buf << std::endl; } - if (mChatWindow) - { - localChatTab->chatLog(buf, BY_LOGGER); - } - // Delete temporary buffer delete[] buf; } |