Skip to main content

install_tracing

Function install_tracing 

Source
pub fn install_tracing()
Expand description

Installs the stdout JSON subscriber exactly once per process. Process-wide infrastructure installed before the first response, not request state (ADR 0007). Fails silently only when the process already installed another global subscriber (e.g. a test harness), which then keeps receiving the events.