pub fn set_log_verbosity(level: usize) -> Result<(), String>Available on crate feature
std only.Expand description
Sets the global log verbosity level.
- 0: OFF
- 1: ERROR
- 2: WARN
- 3: INFO
- 4: DEBUG
- 5+: TRACE
Updates all reloadable layers (stdout, file, etc.). The default directives that suppress noisy dependencies are kept, as they are at startup.
Returns an error if no log handle is installed or if the reload fails.