info_every_ms

Macro info_every_ms 

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

Rate-limited logging that emits at most once per N milliseconds per call site.

Uses atomic operations with relaxed ordering for minimal overhead.

§Example

// Basic message
info_every_ms!(1000, "periodic status update");

// With format args
info_every_ms!(500, "processed {} items", count);

// With key-value pairs
info_every_ms!(1000, actor_id = id, "actor started");