sentry_tracing

Function breadcrumb_from_event

Source
pub fn breadcrumb_from_event<'context, S>(
    event: &Event<'_>,
    ctx: impl Into<Option<Context<'context, S>>>,
) -> Breadcrumb
where S: Subscriber + for<'a> LookupSpan<'a>,
Expand description

Creates a Breadcrumb from a given tracing_core::Event