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 VTCODE_STARTUP_TRACE=1 (startup trace already implies diagnostics).