Move logging macros outside the spdlog namespace

This commit is contained in:
gabime 2018-11-25 11:20:27 +02:00
parent 4ba19821ce
commit cff78f5833
1 changed files with 4 additions and 1 deletions

View File

@ -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)
#define SPDLOG_CRITICAL(...) (void)0 #define SPDLOG_CRITICAL(...) (void)0
#endif #endif
} // namespace spdlog
#endif // SPDLOG_H #endif // SPDLOG_H