pub fn trace_enabled(level: TraceLevel) -> boolExpand description
Whether level is currently being traced.
TraceLevel::All enables both categories; asking for
TraceLevel::Off is always false (there is nothing to trace at that
level), so a caller cannot accidentally turn a guard into a no-op by
passing it.