Update logger.h

This commit is contained in:
Gabi Melman 2023-09-16 02:23:26 +03:00 committed by gabime
parent fb40b49ef0
commit e1c7e6fde4

View File

@ -266,7 +266,7 @@ public:
}
#endif
// return true logging is enabled for the given level.
// return true if logging is enabled for the given level.
[[nodiscard]] bool should_log(level::level_enum msg_level) const
{
return msg_level >= level_.load(std::memory_order_relaxed);
@ -361,7 +361,6 @@ protected:
void err_handler_(const std::string &msg);
};
void swap(logger &a, logger &b);
} // namespace spdlog