Skip to main content

set_log_level

Function set_log_level 

Source
pub fn set_log_level(level: LevelFilter)
Expand description

Update the log level at runtime (e.g., from settings UI). Moves both the macros’ global gate and the bridge’s per-record gate — raising only log::max_level() would be undone at the bridge’s own enabled() check.