Skip to main content

enabled

Function enabled 

Source
pub fn enabled() -> bool
Expand description

Whether the event log is active. Cheap; called at every entry point so a disabled log costs one env lookup and nothing else. On when the config flag (via init) or a truthy SKI_TELEMETRY env var is set.