Similar to XLOG(...) except only log a message every
Declared in <folly/logging/xlog.h>
#define XLOG_EVERY_N(level, n, ...)
The internal counter is process-global and threadsafe, but to avoid the performance degradation of atomic-rmw operations, increments are non-atomic. Some increments may be missed under contention, leading to possible over-logging or under-logging effects.
| Name | Description |
|---|---|
| n | invocations, approximately. |
| level | The folly::LogLevel value at which to log. |