You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
The macro LOG_EVERY_N and its siblings use a counter to display a message every Nth times it gets called. This is great for limiting logs, but in systems where the log calls are not only infrequent but also varies it would be beneficial to log every time period T instead. When the log calls are very frequent this will rate limit to 1 log entry per time T, and when they become infrequent, it will turn into at most 1 log entry per time T.