Skip to main content

update_tracing_filter

Function update_tracing_filter 

Source
pub fn update_tracing_filter(directives: &str)
Expand description

Replaces the active tracing EnvFilter at runtime.

directives is parsed as an [EnvFilter] (e.g. "info", "debug,hyper=off"). This is a no-op if subscriber has not been called yet.