Skip to main content

record_event

Function record_event 

Source
fn record_event<S>(event: &Event<'_>, ctx: &Context<'_, S>)
where S: Subscriber + for<'a> LookupSpan<'a>,
Expand description

Opens this thread’s buffer with the event’s fields and those of the spans enclosing it, for the entry the console writer appends to next.