Skip to main content

debug_event

Macro debug_event 

Source
macro_rules! debug_event {
    ( $level:expr_2021, $($x:tt)+ ) => { ... };
}
Expand description

Emits a tracing event with debug-aware level control.

When logging is true, the requested level is retained and _debug = true is attached. Otherwise the event is emitted at DEBUG, allowing compile-time filters to remove it.