summaryrefslogtreecommitdiff
path: root/src/logger.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-01 12:37:41 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-01 21:33:36 +0300
commita1ca5e04b60902f84eb5da7d5e212ecf66d7f3e6 (patch)
tree2483f96259d864a8c356ba2d6d97b311d2ca7c95 /src/logger.h
parent8cb95434b0c050a5e608e3fc541636d5b2d08dfd (diff)
downloadmv-a1ca5e04b60902f84eb5da7d5e212ecf66d7f3e6.tar.gz
mv-a1ca5e04b60902f84eb5da7d5e212ecf66d7f3e6.tar.bz2
mv-a1ca5e04b60902f84eb5da7d5e212ecf66d7f3e6.tar.xz
mv-a1ca5e04b60902f84eb5da7d5e212ecf66d7f3e6.zip
in logger put debug logging in ifdef.
Diffstat (limited to 'src/logger.h')
-rw-r--r--src/logger.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logger.h b/src/logger.h
index 8b484e8f5..90c3a689f 100644
--- a/src/logger.h
+++ b/src/logger.h
@@ -94,10 +94,12 @@ class Logger final
*/
void log(const std::string &str);
+#ifdef ENABLEDEBUGLOG
/**
* Enters debug message in the log. The message will be timestamped.
*/
void dlog(const std::string &str);
+#endif
void setDebugLog(const bool n)
{ mDebugLog = n; }