Function linkspace::runtime::lk_watch2

source ·
pub fn lk_watch2(
    lk: &Linkspace,
    query: &Query,
    cb: impl PktHandler + 'static,
    span: Span
) -> LkResult<i32>
Expand description

lk_watch with a custom log tracing::Span The span will be entered on every callback. If you do not care for structured options you can use vspan lk_watch2(.. , .. ,.. , vspan("my function"))