Skip to main content

emit

Function emit 

Source
pub fn emit(event: TraceEvent)
Expand description

Emit one event to the current thread-local sink, if any, and then to the global sink, if any. Cheap when neither is installed: one thread-local read, one atomic-protected lock read, and two Option::is_some checks.