log_warn

Macro log_warn 

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

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

ยงExample

use cat_loggr::log_warn;

log_warn!("Default log");

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

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