mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-13 01:10:26 +08:00
Move logging macros outside the spdlog namespace
This commit is contained in:
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…
Reference in New Issue
Block a user