macro_rules! info {
($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 info to the logger.
§Note
The first argument should be self
.