Skip to main content

nros_fatal_throttle

Macro nros_fatal_throttle 

Source
macro_rules! nros_fatal_throttle {
    ($logger:expr, $interval_ms:expr, $($arg:tt)+) => { ... };
}
Expand description

Emit at crate::Severity::Fatal, at most once per interval_ms at this call site.

Reads the platform clock; needs cfg(nros_log_clock) (see nros_fatal_throttle_at! for the form that takes the time).