Skip to main content

recorder_disabled

Function recorder_disabled 

pub fn recorder_disabled() -> Recorder
Available on crate feature dial9 only.
Expand description

A recorder with recording permanently disabled: no flush thread, no sources, and handle returns a disabled handle.

Attaching Tokio to it is a no-op and enable/graceful_shutdown do nothing, so it is the “telemetry off” fallback for #[dial9::main] and recorder_or_disabled: application code runs unchanged, recording nothing.