Function dynamic_intercepted_tracing_layer

Source
pub fn dynamic_intercepted_tracing_layer<T>(
    filter: impl Into<String>,
    accumulate: usize,
    stream_buffer: usize,
) -> Result<(impl Layer<T>, TracingContext, MakeWriterInterceptor)>
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 and intercepted with its MakeWriterInterceptor