Macro rsonpath_lib::debug
source · macro_rules! debug {
(target: $target:expr, $($arg:tt)+) => { ... };
($($arg:tt)+) => { ... };
}
Expand description
Macro for debug logging. Evaluates to log::debug
, if debug assertions are enabled.
Otherwise it’s an empty statement.
Use this instead of plain log::debug
, since this is automatically removed in
release mode and incurs no performance penalties.