diff options
author | gabime <gmelman1@gmail.comx> | 2022-10-31 18:09:45 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.comx> | 2022-10-31 18:09:45 +0300 |
commit | 070dd181df89bbdcb26e344c21ede5bc857f555d (patch) | |
tree | e83d1ab155871ba0149bae55e785b6b9222c5751 /include/spdlog/spdlog.h | |
parent | 7147da468f355d00225cededdba1d02a8c7e67ec (diff) |
clang format
Diffstat (limited to 'include/spdlog/spdlog.h')
-rw-r--r-- | include/spdlog/spdlog.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index 40c2bcad..ee83e8de 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -293,9 +293,10 @@ inline void critical(const T &msg) // #ifndef SPDLOG_NO_SOURCE_LOC -#define SPDLOG_LOGGER_CALL(logger, level, ...) (logger)->log(spdlog::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__) +# define SPDLOG_LOGGER_CALL(logger, level, ...) \ + (logger)->log(spdlog::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__) #else -#define SPDLOG_LOGGER_CALL(logger, level, ...) (logger)->log(spdlog::source_loc{}, level, __VA_ARGS__) +# define SPDLOG_LOGGER_CALL(logger, level, ...) (logger)->log(spdlog::source_loc{}, level, __VA_ARGS__) #endif #if SPDLOG_ACTIVE_LEVEL <= SPDLOG_LEVEL_TRACE |