Skip to main content

nros_debug_throttle

Macro nros_debug_throttle 

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

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

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