[][src]Macro kv_log_macro::log

macro_rules! log {
    (target: $target:expr, $lvl:expr, $e:expr) => { ... };
    (target: $target:expr, $lvl:expr, $e:expr, $($rest:tt)*) => { ... };
    ($lvl:expr, $($arg:tt)+) => { ... };
}

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",
});