[#XLOG_EVERY_N] = XLOG_EVERY_N :mrdocs: Similar to XLOG(...) except only log a message every == Synopsis Declared in `<folly/logging/xlog.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- #define XLOG_EVERY_N(level, n, ...) ---- == Description 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. == Parameters [cols="1,4"] |=== | Name| Description | *n* | invocations, approximately. | *level* | The `folly::LogLevel` value at which to log. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#