summaryrefslogtreecommitdiff
path: root/src/logger.h
diff options
context:
space:
mode:
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; }