Skip to main content

debug_trace

Macro debug_trace 

Source
macro_rules! debug_trace {
    ($($arg:tt)*) => { ... };
}
Expand description

Conditionally print debug trace output to stderr.

When FTUI_DEBUG_TRACE=1 is set, prints timestamped debug messages. When disabled, compiles to a single bool check (effectively zero cost).

§Example

debug_trace!("subscription started: id={}", sub_id);
debug_trace!("main loop heartbeat: frame={}", frame_count);