XLOG_EVERY_MS_IF

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

Synopsis

Declared in <folly/logging/xlog.h>

#define XLOG_EVERY_MS_IF(level, cond, ms, ...)

Description

Note that this is threadsafe.

Parameters

NameDescription
msmilliseconds and if the specified condition predicate evaluates to true.
levelThe folly::LogLevel value at which to log.
condA predicate; the message is logged only when it is true.