Move logging macros outside the spdlog namespace

pull/926/head
gabime 7 years ago
parent 4ba19821ce
commit cff78f5833

@ -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

Loading…
Cancel
Save