Function is_enabled

Source
pub fn is_enabled() -> bool
Expand description

Is tracing enabled. Technically doesn’t guarantee any samples will be stored as tracing could still be enabled but set with a limit of 0.