Similar to XLOG(...) except only log a message every
Declared in <folly/logging/xlog.h>
#define XLOG_EVERY_N_EXACT(level, n, ...)
The internal counter is process-global and threadsafe and increments are atomic. The over-logging and under-logging schenarios of XLOG_EVERY_N(...) are avoided, traded off for the performance degradation of atomic-rmw operations.
| Name | Description |
|---|---|
| n | invocations, exactly. |
| level | The folly::LogLevel value at which to log. |