Skip to main content

init_capture_tracing

Function init_capture_tracing 

Source
pub fn init_capture_tracing() -> CaptureExporter
Expand description

Install a tracing subscriber that captures spans into a shared CaptureExporter and returns it.

The first call installs the subscriber; subsequent calls in the same process return the same exporter already wired into the subscriber.