macro_rules! info_every_n {
($n:expr, $($args:tt)+) => { ... };
}Expand description
Count-based rate-limited logging that emits on the first invocation, then once every N invocations per call site (matching glog behavior).
Uses atomic operations with relaxed ordering for minimal overhead.
§Example
ⓘ
// Basic message
info_every_n!(100, "periodic status");
// With format args
info_every_n!(50, "processed {} items", count);
// With key-value pairs
info_every_n!(100, actor_id = id, "actor started");