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

Synopsis

Declared in <folly/logging/xlog.h>

#define XLOG_EVERY_N_IF(level, cond, n, …​)

Description

See concurrency discussion for XLOG_EVERY_N which applies here as well.

Parameters

Name

Description

n

invocations, approximately, and if the specified condition predicate evaluates to true.

level

The folly::LogLevel value at which to log.

cond

A predicate; the message is logged only when it is true.

Created with MrDocs