macro_rules! debug { ($( $args:tt )*) => { ... }; }
Expand description
Logs a message at the debug level using the default target.
This macro logs the message using the default target, the module path of
the location of the log request. See debug_target!
which can override the
target.
ยงExamples
use ckb_logger::debug;
let pos = Position { x: 3.234, y: -1.223 };
debug!("Position is: x: {}, y: {}", pos.x, pos.y);