debug

Macro debug 

Source
macro_rules! debug {
    ($self:ident, $fmt_str:literal) => { ... };
    ($self:ident, $fmt_str:literal, $($args:expr),*) => { ... };
}
Expand description

A simple macro which is compatible with Rust’s format syntax used in macros like print!, println!, and format!. Prints debug info to the logger.

§Note

The first argument should be self.