summaryrefslogtreecommitdiff
path: root/src/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.h')
-rw-r--r--src/logger.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logger.h b/src/logger.h
index 52f1b5a86..51966b5e5 100644
--- a/src/logger.h
+++ b/src/logger.h
@@ -39,10 +39,14 @@
#define DEBUGLOG2(str, pos, comment) \
if (logger && !mIgnore) \
logger->dlog2(str, pos, comment)
+#define DEBUGLOGSTR(str) \
+ if (logger) \
+ logger->dlog(str)
#define IGNOREDEBUGLOG mIgnore = Net::isIgnorePacket(mId)
#else
#define DEBUGLOG(str) {}
#define DEBUGLOG2(str, comment) {}
+#define DEBUGLOGSTR(str)
#define IGNOREDEBUGLOG {}
#endif