[]Function sentry::integrations::log::event_from_record

pub fn event_from_record(
    record: &Record<'_>,
    with_stacktrace: bool
) -> Event<'static>

Creates an event from a given log record.

If with_stacktrace is set to true then a stacktrace is attached from the current frame.