ckb_logger

Macro trace

Source
macro_rules! trace {
    ($( $args:tt )*) => { ... };
}
Expand description

Logs a message at the trace 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 trace_target! which can override the target.

ยงExamples

use ckb_logger::trace;

let pos = Position { x: 3.234, y: -1.223 };

trace!("Position is: x: {}, y: {}", pos.x, pos.y);