Enum log_once::LogLevel
[−]
[src]
#[repr(usize)]pub enum LogLevel { Error, Warn, Info, Debug, Trace, }
An enum representing the available verbosity levels of the logging framework.
Typical usage includes: checking if a certain LogLevel is enabled with
log_enabled!, specifying the LogLevel of
log!, and comparing a LogLevel directly to a
LogLevelFilter.
Variants
ErrorThe "error" level.
Designates very serious errors.
WarnThe "warn" level.
Designates hazardous situations.
InfoThe "info" level.
Designates useful information.
DebugThe "debug" level.
Designates lower priority information.
TraceThe "trace" level.
Designates very low priority, often extremely verbose, information.
Methods
impl LogLevel[src]
fn max() -> LogLevel
Returns the most verbose logging level.
fn to_log_level_filter(&self) -> LogLevelFilter
Converts the LogLevel to the equivalent LogLevelFilter.