Skip to main content

take_corr

Function take_corr 

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

Take the last-captured server correlation id (x-request-id), if any. Consumes it — the caller must take it exactly once per invocation and share the value between the trace line and the stdout envelope (gh#91), since a second take always sees None.