diff options
| -rw-r--r-- | zencore/include/zencore/logging.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/zencore/include/zencore/logging.h b/zencore/include/zencore/logging.h index 290022e2a..412a39415 100644 --- a/zencore/include/zencore/logging.h +++ b/zencore/include/zencore/logging.h @@ -39,44 +39,44 @@ using zen::Log; // Helper macros for logging -#define ZEN_TRACE(fmtstr, ...) \ - do \ - { \ - using namespace std::literals; \ +#define ZEN_TRACE(fmtstr, ...) \ + do \ + { \ + using namespace std::literals; \ Log().trace(fmtstr##sv, ##__VA_ARGS__);\ } while (false) -#define ZEN_DEBUG(fmtstr, ...) \ - do \ - { \ - using namespace std::literals; \ +#define ZEN_DEBUG(fmtstr, ...) \ + do \ + { \ + using namespace std::literals; \ Log().debug(fmtstr##sv, ##__VA_ARGS__);\ } while (false) -#define ZEN_INFO(fmtstr, ...) \ - do \ - { \ - using namespace std::literals; \ +#define ZEN_INFO(fmtstr, ...) \ + do \ + { \ + using namespace std::literals; \ Log().info(fmtstr##sv, ##__VA_ARGS__);\ } while (false) -#define ZEN_WARN(fmtstr, ...) \ - do \ - { \ - using namespace std::literals; \ - Log().warn(fmtstr##sv, ##__VA_ARGS__);\ - } while (false) - -#define ZEN_ERROR(fmtstr, ...) \ +#define ZEN_WARN(fmtstr, ...) \ do \ { \ using namespace std::literals; \ + Log().warn(fmtstr##sv, ##__VA_ARGS__);\ + } while (false) + +#define ZEN_ERROR(fmtstr, ...) \ + do \ + { \ + using namespace std::literals; \ Log().error(fmtstr##sv, ##__VA_ARGS__);\ } while (false) -#define ZEN_CRITICAL(fmtstr, ...) \ - do \ - { \ - using namespace std::literals; \ +#define ZEN_CRITICAL(fmtstr, ...) \ + do \ + { \ + using namespace std::literals; \ Log().critical(fmtstr##sv, ##__VA_ARGS__);\ } while (false) |