Skip to main content

tracing_layer

Function tracing_layer 

Source
pub(crate) fn tracing_layer<S>() -> Option<impl Layer<S>>
where S: Subscriber + for<'span> LookupSpan<'span>,
Expand description

Returns the Sentry tracing layer, or None if init has not bound an enabled client.

Must be called after init.