XLOGF_EVERY_N

Similar to XLOGF(...) except only log a message every

Synopsis

Declared in <folly/logging/xlog.h>

#define XLOGF_EVERY_N(level, n, fmt, ...)

Description

See concurrency discussion for XLOG_EVERY_N which applies here as well.

Parameters

NameDescription
ninvocations, approximately.
levelThe folly::LogLevel value at which to log.
fmtA folly::format-style format string for the message.