Skip to main content

runtime_diagnostics_enabled

Function runtime_diagnostics_enabled 

Source
pub fn runtime_diagnostics_enabled() -> bool
Expand description

Returns true when runtime diagnostics logging is enabled.

Enabled by VTCODE_RUNTIME_METRICS=1|true|yes|on|debug or when startup tracing is on (VTCODE_STARTUP_TRACE, same canonical set — startup trace already implies diagnostics).