Macro log_once::error_once

source ·
macro_rules! error_once {
    (target: $target:expr, $($arg:tt)*) => { ... };
    ($($arg:tt)*) => { ... };
}
Expand description

Logs a message once at the error level.

The log event will only be emitted once for each combinaison of target/arguments.

Logging at this level is disabled if the max_level_off feature is present.