determines the minimum level of messages that should be loggged More...
#include </home/runner/work/metall/metall/include/metall/logger.hpp>
Public Member Functions | |
bool | should_log (level lvl) const noexcept |
returns true if the logger should log a message of level lvl with this level_filter More... | |
Static Public Attributes | |
static const level_filter | critical {logger::level::critical} |
Only log critical messages. More... | |
static const level_filter | error {logger::level::error} |
Only log error and critical messages. More... | |
static const level_filter | warning {logger::level::warning} |
Only log warning, error and critical messages. More... | |
static const level_filter | info {logger::level::info} |
Only log info, warning, error and critical messages. More... | |
static const level_filter | debug {logger::level::debug} |
Only log debug, info, warning, error and critical messages. More... | |
static const level_filter | verbose {logger::level::verbose} |
Log all messages. More... | |
static const level_filter | silent {std::nullopt} |
Don't log any messages. More... | |
determines the minimum level of messages that should be loggged
|
inlinenoexcept |
returns true if the logger should log a message of level lvl with this level_filter
|
inlinestatic |
Only log critical messages.
|
inlinestatic |
Only log error and critical messages.
|
inlinestatic |
Only log warning, error and critical messages.
|
inlinestatic |
Only log info, warning, error and critical messages.
|
inlinestatic |
Only log debug, info, warning, error and critical messages.
|
inlinestatic |
Log all messages.
|
inlinestatic |
Don't log any messages.