pub fn format_trace(record: &Record<'_>) -> Result<()>
Format a log record as a trace event in the current span.