macro_rules! dev_log {
($Tag:expr, $($Arg:tt)*) => { ... };
}Expand description
Log a tagged dev message. Only prints if the tag is enabled via Trace.
In short mode: aliases long paths, deduplicates consecutive identical
lines.
Release-mode behaviour: the entire body is gated on
cfg!(debug_assertions). Production builds get zero logging by
design - LLVM’s dead-code-elimination removes the format!,
IsEnabled lookup, file-sink write, and dedup-mutex lock so the
hundreds of dev_log! callsites in the IPC hot path don’t tax
release builds at all. Type-checking still runs against the format
arguments, which catches {} placeholder mismatches without
imposing runtime cost.