log
pub fn max_level() -> LevelFilter
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.
log!
error!
warn!
info!
debug!
trace!
set_max_level