Skip to content

Commit

Permalink
Fixed build for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
H0zen committed Jun 11, 2019
1 parent 5b151d3 commit a5881c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/shared/Log/Log.h
Original file line number Diff line number Diff line change
Expand Up @@ -494,20 +494,20 @@ class Log : public MaNGOS::Singleton<Log, MaNGOS::ClassLevelLockable<Log, ACE_Th
} while(0)

#ifdef MANGOS_DEBUG
#define DEBUG_LOG(...) \
#define DEBUG_LOG(...) \
do { \
if (sLog.HasLogLevelOrHigher(LOG_LVL_DEBUG)) \
sLog.outDebug(__VA_ARGS__); \
} while(0)

#define DEBUG_FILTER_LOG(F,...) \
#define DEBUG_FILTER_LOG(F,...) \
do { \
if (sLog.HasLogLevelOrHigher(LOG_LVL_DEBUG) && !sLog.HasLogFilter(F)) \
sLog.outDebug(__VA_ARGS__); \
} while(0)
#else
#define DEBUG_LOG(...) \
#define DEBUG_FILTER_LOG(F,...) \
#define DEBUG_LOG(...)
#define DEBUG_FILTER_LOG(F,...)
#endif

#define ERROR_DB_FILTER_LOG(F,...) \
Expand Down

0 comments on commit a5881c3

Please sign in to comment.