summaryrefslogtreecommitdiff
path: root/src/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.cpp')
-rw-r--r--src/log.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/log.cpp b/src/log.cpp
index 435b2da0..0da9a272 100644
--- a/src/log.cpp
+++ b/src/log.cpp
@@ -22,9 +22,10 @@
#include <iostream>
#include <sstream>
-#include "log.h"
+#include <stdio.h>
+#include <stdarg.h>
-#include "gui/widgets/chattab.h"
+#include "log.h"
#ifdef WIN32
#include <windows.h>
@@ -37,8 +38,7 @@
#include <sys/time.h>
Logger::Logger():
- mLogToStandardOut(true),
- mChatWindow(NULL)
+ mLogToStandardOut(true)
{
}
@@ -101,11 +101,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;
}