BigFile/Sasquatch #1
@@ -102,6 +102,7 @@
|
||||
#define BIGFOOT_LOG_FATAL(loggerName, fmt, ...)
|
||||
#endif
|
||||
|
||||
#if defined BIGFOOT_NOT_OPTIMIZED
|
||||
#define BIGFOOT_LOG_DEBUG_IF(condition, loggerName, fmt, ...) \
|
||||
do \
|
||||
{ \
|
||||
@@ -155,4 +156,12 @@
|
||||
BIGFOOT_LOG_FATAL(loggerName, fmt __VA_OPT__(, ) __VA_ARGS__); \
|
||||
} \
|
||||
} while (0)
|
||||
#else
|
||||
#define BIGFOOT_LOG_DEBUG_IF(condition, loggerName, fmt, ...)
|
||||
#define BIGFOOT_LOG_TRACE_IF(condition, loggerName, fmt, ...)
|
||||
#define BIGFOOT_LOG_INFO_IF(condition, loggerName, fmt, ...)
|
||||
#define BIGFOOT_LOG_WARN_IF(condition, loggerName, fmt, ...)
|
||||
#define BIGFOOT_LOG_ERROR_IF(condition, loggerName, fmt, ...)
|
||||
#define BIGFOOT_LOG_FATAL_IF(condition, loggerName, fmt, ...)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user