macro_rules! dbg {
(target: $target:expr, level: $level:expr, $ex:expr) => { ... };
(level: $level:expr, $ex:expr) => { ... };
(target: $target:expr, $ex:expr) => { ... };
($ex:expr) => { ... };
}
Expand description
Similar to the std::dbg!
macro, but generates tracing
events rather
than printing to stdout.
By default, the verbosity level for the generated events is DEBUG
, but
this can be customized.