Function axlog::set_max_level
source · pub fn set_max_level(level: &str)
Expand description
Set the maximum log level.
Unlike the features such as log-level-error
, setting the logging level in
this way incurs runtime overhead. In addition, this function is no effect
when those features are enabled.
level
should be one of off
, error
, warn
, info
, debug
, trace
.