summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp1
-rw-r--r--src/logger.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index fa8b860d5..dd5b06776 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -167,7 +167,6 @@ Configuration features; // XML file features
Configuration branding; // XML branding information reader
Configuration paths; // XML default paths information reader
Client *client = nullptr;
-Logger *logger = nullptr; // Log object
ChatLogger *chatLogger = nullptr; // Chat log object
KeyboardConfig keyboard;
UserPalette *userPalette = nullptr;
diff --git a/src/logger.cpp b/src/logger.cpp
index 953c9488b..972d333e4 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -60,6 +60,8 @@
<< static_cast<int>((tv.tv_usec / 10000) % 100) \
<< "] ";
+Logger *logger = nullptr; // Log object
+
Logger::Logger() :
mLogFile(),
mLogToStandardOut(true),