Macro kv_log_macro::log
source · macro_rules! log { (target: $target:expr, $lvl:expr, $e:expr) => { ... }; (target: $target:expr, $lvl:expr, $e:expr, $($rest:tt)*) => { ... }; ($lvl:expr, $($arg:tt)+) => { ... }; }
Expand description
The standard logging macro.
use kv_log_macro::info;
info!("hello");
info!("hello",);
info!("hello {}", "cats");
info!("hello {}", "cats",);
info!("hello {}", "cats", {
cat_1: "chashu",
cat_2: "nori",
});