[#XLOGF_FIRST_N] = XLOGF_FIRST_N :mrdocs: Similar to XLOGF(...) except only log a message the first n times, exactly. == Synopsis Declared in `<folly/logging/xlog.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- #define XLOGF_FIRST_N(level, n, fmt, ...) ---- == Description The internal counter is process‐global and threadsafe and exchanges are atomic. == Parameters [cols="1,4"] |=== | Name| Description | *level* | The `folly::LogLevel` value at which to log. | *n* | The number of initial invocations to log. | *fmt* | A `folly::format`‐style format string for the message. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#