macro_rules! log_once {
(@CREATE STATIC) => { ... };
(target: $target:expr, $lvl:expr, $message:expr) => { ... };
(target: $target:expr, $lvl:expr, $format:expr, $($arg:tt)+) => { ... };
($lvl:expr, $message:expr) => { ... };
($lvl:expr, $format:expr, $($arg:tt)+) => { ... };
}Expand description
Standard logging macro, logging events once for each arguments.
The log event will only be emmited once for each combinaison of target/arguments.
This macro will generically log with the specified Level and format!
based argument list.
The max_level_* features can be used to statically disable logging at
various levels.