Skip to main content

current_trace_id

Function current_trace_id 

Source
pub fn current_trace_id() -> Option<String>
Expand description

The id of the trace open on this thread (32 lowercase hex characters), or None outside a trace. Errors captured on this thread while it’s open carry it automatically.