macro_rules! strace { (type=>$tp:expr, $msg:expr) => { ... }; ($msg:expr) => { ... }; }
Simplified trace macro
Prints with the following format: file!:line! - [TYPE:] [Message]
file!:line! - [TYPE:] [Message]
Argument must have fmt::Display trait.
fmt::Display