summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-01 13:15:49 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-01 21:33:36 +0300
commite8ce245e0bbb87bc45d15b9f0eb8bf423373d203 (patch)
tree368c9b3745cc424c5abd3755a411266f09d181f7 /src/logger.cpp
parent1c04a68a1604bf59dd2c33195f9f3fb2207a91e2 (diff)
downloadplus-e8ce245e0bbb87bc45d15b9f0eb8bf423373d203.tar.gz
plus-e8ce245e0bbb87bc45d15b9f0eb8bf423373d203.tar.bz2
plus-e8ce245e0bbb87bc45d15b9f0eb8bf423373d203.tar.xz
plus-e8ce245e0bbb87bc45d15b9f0eb8bf423373d203.zip
move global logger definition from client to logger file.
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp2
1 files changed, 2 insertions, 0 deletions
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),