Skip to main content

debug

Macro debug 

Source
macro_rules! debug {
    ($msg:literal; $($field:tt)+) => { ... };
    ($msg:literal, $($arg:expr),+; $($field:tt)+) => { ... };
    ($msg:literal, ? $($field:tt)+) => { ... };
    ($msg:literal, % $($field:tt)+) => { ... };
    ($($arg:tt)+) => { ... };
}