Commit cff78f58 authored by gabime's avatar gabime

Move logging macros outside the spdlog namespace

parent 4ba19821
...@@ -296,6 +296,10 @@ inline void critical(const wchar_t *fmt, const Args &... args) ...@@ -296,6 +296,10 @@ inline void critical(const wchar_t *fmt, const Args &... args)
#endif // SPDLOG_WCHAR_TO_UTF8_SUPPORT #endif // SPDLOG_WCHAR_TO_UTF8_SUPPORT
} // namespace spdlog
// //
// enable/disable log calls at compile time according to global level. // 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) ...@@ -357,5 +361,4 @@ inline void critical(const wchar_t *fmt, const Args &... args)
#define SPDLOG_CRITICAL(...) (void)0 #define SPDLOG_CRITICAL(...) (void)0
#endif #endif
} // namespace spdlog
#endif // SPDLOG_H #endif // SPDLOG_H
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment