Skip to main content

dev_log

Macro dev_log 

Source
macro_rules! dev_log {
    ($Tag:expr, $($Arg:tt)*) => { ... };
}
Expand description

Tag-gated dev log. Compiled out in release builds.

Under Trace=short aliases the long Tauri app-data prefix to $APP and collapses consecutive duplicates with a (xN) tail. The body is fully gated on cfg!(debug_assertions) so release builds get zero runtime cost (LLVM dead-codes the format / IsEnabled / file-sink path).