Skip to main content

is_enabled

Function is_enabled 

Source
pub fn is_enabled() -> bool
Expand description

Check if debug tracing is enabled.

This function is inlined and after the first call, compiles down to a single static bool load - effectively zero cost when disabled.