pub fn debug_record_enabled() -> boolExpand description
Would an un-featured Debug-status record actually reach the log right now? True only
under --verbose (util/logger.rs debug_all; a --debug feature does not admit them)
AND output is not suppressed.
The Debug! macro gates message construction on this: the 2026-08-23
audit measured up to ~26% of a build-bound conversion spent serializing
node_to_string subtrees into Debug! messages that emit_record then
discarded (PERFORMANCE.md, Open levers P0). An atomic load + thread-local
read — cheap enough for token-frequency call sites.