Similar to XLOG(...) except only log a message every
Synopsis
Declared in <folly/logging/xlog.h>
#define XLOG_EVERY_N_EXACT(level, n, …)
Description
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.
Parameters
Name |
Description |
n |
invocations, exactly. |
level |
The |
Created with MrDocs