21 #include <momemta/impl/logger/sink.h> 27 bool sink::should_log(logging::level::level_enum msg_level)
const {
28 return msg_level >= _level.load(std::memory_order_relaxed);
31 void sink::set_level(logging::level::level_enum log_level) {
32 _level.store(log_level);
35 logging::level::level_enum sink::level()
const {
36 return static_cast<logging::level::level_enum
>(_level.load(std::memory_order_relaxed));