This commit is contained in:
gabime
2019-10-09 21:41:02 +03:00
parent 1549ff12f1
commit 9369fe8c27
4 changed files with 23 additions and 1 deletions

View File

@@ -319,8 +319,12 @@ public:
#endif // _WIN32
#endif // SPDLOG_WCHAR_TO_UTF8_SUPPORT
// return true logging is enabled for the given level.
bool should_log(level::level_enum msg_level) const;
// return true if backtrace logging is enabled.
bool should_backtrace() const;
void set_level(level::level_enum log_level);
level::level_enum level() const;