pub fn exception_from_record( record: &Record<'_>, values: &OwnedKVList, ) -> Event<'static>
Creates an exception Event from the Record.
Event
Record
let args = format_args!(""); let record = slog::record!(slog::Level::Error, "", &args, slog::b!()); let kv = slog::o!().into(); let event = sentry_slog::exception_from_record(&record, &kv);