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