macro_rules! tuix_trace {
($cat:expr, $($arg:tt)*) => { ... };
}Expand description
tuix_trace!("CAT", "fmt {}", args) — compiles to a cheap enabled()
check when the env var is unset. Use short 2-4 char categories so
log lines remain grep-able by column:
IN — input event entering handle_input
KEY — key-handler outcome (Redraw / Commit / NoOp)
PH — UiPhase transition (Streaming → Idle, etc.)
QUE — type-ahead queue push / pop
THR — InputThrottle paint/park decision
REN — render worker command processed
RD — raw reader thread event