Macro trace_macros::TRACE
[−]
[src]
macro_rules! TRACE { (type=>$tp:expr, sep=>$sep:expr, $msg:expr) => { ... }; (type=>$tp:expr, sep=>$sep:expr, $($arg:expr),+) => { ... }; (type=>$tp:expr, $msg:expr) => { ... }; (type=>$tp:expr, $($arg:expr),+) => { ... }; (type=>$tp:expr) => { ... }; (sep=>$sep:expr, $($arg:expr),+) => { ... }; ($msg:expr) => { ... }; ($($arg:expr),+) => { ... }; () => { ... }; }
Trace macro which concats passed arguments into one string.
Prints with the following format: file!:line! - [type:] [Message]
Usage:
TRACE!(type=>[TYPE], sep=>[String], [arg1, arg2, ..., argN])
TRACE!(type=>[TYPE], [arg1, arg2, ..., argN])
TRACE!(sep=>[String], [arg1, arg2, ..., argN])
TRACE!([arg1, arg2, ..., argN])
TRACE!()
Arguments must have fmt::Display
trait.