33
33
#include "localconsts.h"
35
35
#ifdef ENABLEDEBUGLOG
36
#define DEBUGLOG(msg) if (logger) logger->dlog(msg)
38
#define DEBUGLOG(msg) {}
42
#define DEBUGLOG2(msg, pos, comment) \
44
logger->dlog2(msg, pos, comment)
46
#define DEBUGLOG2(msg, comment) {}
36
#define DEBUGLOG(str) \
37
if (logger && !mIgnore) \
39
#define DEBUGLOG2(str, pos, comment) \
40
if (logger && !mIgnore) \
41
logger->dlog2(str, pos, comment)
42
#define IGNOREDEBUGLOG mIgnore = Net::isIgnorePacket(mId)
44
#define DEBUGLOG(str) {}
45
#define DEBUGLOG2(str, comment) {}
46
#define IGNOREDEBUGLOG {}