Function sentry_tracing::event_from_event
source · [−]pub fn event_from_event<S>(
event: &Event<'_>,
_ctx: Context<'_, S>
) -> Event<'static> where
S: Subscriber + for<'a> LookupSpan<'a>,
Expand description
Creates an [Event
] from a given tracing_core::Event