macro_rules! log {
($lvl:expr, $($arg:tt)+) => { ... };
}Expand description
macro for logging with a specific Level
use aul::level::Level;
use aul::log;
log!(Level::INFO,"This is an information");
let num = 1;
log!(Level::DEBUG,"{} + {}","This is a debugging message",num);