Function dynamic_tracing_layer

Source
pub fn dynamic_tracing_layer<T>(
    filter: impl Into<String>,
) -> Result<(impl Layer<T>, TracingContext)>
where for<'span> T: Subscriber + LookupSpan<'span>,
Expand description

Generates a default tracing layer with the given Targets filter that can be updated from its TracingContext