From cff78f5833b6b2f46a3a9222b8083b24d12d0632 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 25 Nov 2018 11:20:27 +0200 Subject: [PATCH] Move logging macros outside the spdlog namespace --- include/spdlog/spdlog.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index cbb57664..f745a5fe 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -296,6 +296,10 @@ inline void critical(const wchar_t *fmt, const Args &... args) #endif // SPDLOG_WCHAR_TO_UTF8_SUPPORT +} // namespace spdlog + + + // // enable/disable log calls at compile time according to global level. // @@ -357,5 +361,4 @@ inline void critical(const wchar_t *fmt, const Args &... args) #define SPDLOG_CRITICAL(...) (void)0 #endif -} // namespace spdlog #endif // SPDLOG_H