Skip to main content

annotate_logs

Function annotate_logs 

Source
pub fn annotate_logs<A, E, R>(
    key: impl Into<String> + Send + 'static,
    value: 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 with key=value merged into the fiber-local annotation map (restored afterward).