diff options
Diffstat (limited to 'src/logger.h')
-rw-r--r-- | src/logger.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/logger.h b/src/logger.h index 8eafc70af..ba1aa3f29 100644 --- a/src/logger.h +++ b/src/logger.h @@ -39,9 +39,9 @@ #endif #ifdef ENABLEDEBUGLOG -#define DEBUGLOG2(msg, comment) \ +#define DEBUGLOG2(msg, pos, comment) \ if (logger) \ - logger->dlog2(msg, comment) + logger->dlog2(msg, pos, comment) #else #define DEBUGLOG2(msg, comment) {} #endif @@ -119,7 +119,9 @@ class Logger final */ void dlog(const std::string &str); - void dlog2(const std::string &str, const char* const comment); + void dlog2(const std::string &str, + const int pos, + const char* const comment); #endif void setDebugLog(const bool n) |