Function sentry_tracing::event_from_event

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

Creates an Event from a given tracing_core::Event