Skip to main content

stored_level

Function stored_level 

Source
pub fn stored_level(config_dir: &Path) -> Option<LevelFilter>
Expand description

Read the persisted level, if the user has ever set one.

Persisted rather than session-only on purpose: somebody reproducing a bug needs debug logging to survive the restart that reproduces it.