Skip to main content

with_log_span

Function with_log_span 

Source
pub fn with_log_span<A, E, R>(
    label: impl Into<String> + Send + 'static,
    inner: Effect<A, E, R>,
) -> Effect<A, E, R>
where A: Send + 'static, E: Send + 'static, R: Send + 'static,
Expand description

Run inner while a span label is pushed on the fiber-local span stack (restored afterward).