aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zencore/include/zencore/logging.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/zencore/include/zencore/logging.h b/zencore/include/zencore/logging.h
index 8e6b3a244..290022e2a 100644
--- a/zencore/include/zencore/logging.h
+++ b/zencore/include/zencore/logging.h
@@ -43,40 +43,40 @@ using zen::Log;
do \
{ \
using namespace std::literals; \
- Log().trace(fmtstr##sv, __VA_ARGS__); \
+ Log().trace(fmtstr##sv, ##__VA_ARGS__);\
} while (false)
#define ZEN_DEBUG(fmtstr, ...) \
do \
{ \
using namespace std::literals; \
- Log().debug(fmtstr##sv, __VA_ARGS__); \
+ Log().debug(fmtstr##sv, ##__VA_ARGS__);\
} while (false)
#define ZEN_INFO(fmtstr, ...) \
do \
{ \
using namespace std::literals; \
- Log().info(fmtstr##sv, __VA_ARGS__); \
+ Log().info(fmtstr##sv, ##__VA_ARGS__);\
} while (false)
#define ZEN_WARN(fmtstr, ...) \
do \
{ \
using namespace std::literals; \
- Log().warn(fmtstr##sv, __VA_ARGS__); \
+ Log().warn(fmtstr##sv, ##__VA_ARGS__);\
} while (false)
#define ZEN_ERROR(fmtstr, ...) \
do \
{ \
using namespace std::literals; \
- Log().error(fmtstr##sv, __VA_ARGS__); \
+ Log().error(fmtstr##sv, ##__VA_ARGS__);\
} while (false)
#define ZEN_CRITICAL(fmtstr, ...) \
do \
{ \
using namespace std::literals; \
- Log().critical(fmtstr##sv, __VA_ARGS__); \
+ Log().critical(fmtstr##sv, ##__VA_ARGS__);\
} while (false)