Skip to main content

log_snapshot

Function log_snapshot 

Source
pub fn log_snapshot(handle: &Handle, context: &str)
Expand description

Log one snapshot at DEBUG level; no-op unless diagnostics are enabled.

Callers should gate periodic reporting on runtime_diagnostics_enabled to keep the hot path free when observability is off.