logo

Function log::max_level

source · []
pub fn max_level() -> LevelFilter
Expand description

Returns the current maximum log level.

The log!, error!, warn!, info!, debug!, and trace! macros check this value and discard any message logged at a higher level. The maximum log level is set by the set_max_level function.