Skip to main content

set_console_level

Function set_console_level 

Source
pub fn set_console_level(level: LogLevel)
Expand description

Apply a new log level at runtime.

Does nothing if the hook hasn’t been installed (in tests, which never initialize tracing), so callers don’t need to special-case that.