log_init

Macro log_init 

Source
macro_rules! log_init {
    (target: $target:expr, $($arg:tt)+) => { ... };
    ($($arg:tt)+) => { ... };
}
Available on crate feature macros only.
Expand description

Logs something to the console with the default init level, using the default logger.

ยงExample

use cat_loggr::log_init;

log_init!("Default log");

let data = vec!["a", "b", "c"];

log_init!("{:#?}", data);