log

Function set_max_level

source
pub fn set_max_level(level: LevelFilter)
Expand description

Sets the global maximum log level.

Generally, this should only be called by the active logging implementation.

Note that Trace is the maximum level, because it provides the maximum amount of detail in the emitted logs.