pub fn event_from_record(record: &Record<'_>) -> Event<'static>
Creates an Event from a given log::Record.
Event
log::Record