diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client.cpp | 1 | ||||
-rw-r--r-- | src/logger.cpp | 2 |
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), |