pub fn reload_filter() -> Result<(), String>
Expand description

Reload the logging filter with the supplied directives added to the existing directives

Examples found in repository?
src/logging/directives.rs (line 99)
95
96
97
98
99
100
pub fn reset_log_filter() -> Result<(), String> {
	let directive = DEFAULT_DIRECTIVES.get_or_init(|| Mutex::new(Vec::new())).lock().clone();

	*CURRENT_DIRECTIVES.get_or_init(|| Mutex::new(Vec::new())).lock() = directive;
	reload_filter()
}