Skip to main content

Debug

Macro Debug 

Source
macro_rules! Debug {
    ($category:expr_2021, $object:expr_2021, $message:expr_2021) => { ... };
    ($category:expr_2021, $object:expr_2021, $message:expr_2021, $($details:expr_2021),*) => { ... };
    ($($simple:expr_2021),*) => { ... };
}
Expand description

Debug-status diagnostics. Lazy: the argument expressions — which at several sites build whole node_to_string subtree serializations — are evaluated only when debug_record_enabled says the record would actually be logged (2026-08-23 audit, PERFORMANCE.md Open levers P0). The Debug status tally (note_status) is preserved unconditionally, so status counts are identical to the eager form at every verbosity.