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