Macro log_once::trace_once

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

Logs a message once at the trace level.

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

Logging at this level is disabled if any of the following features are present: max_level_off, max_level_error, max_level_warn, max_level_info, or max_level_debug.

When building in release mode (i.e., without the debug_assertions option), logging at this level is also disabled if any of the following features are present: release_max_level_off, release_max_level_error, release_max_level_warn, release_max_level_info, or release_max_level_debug.