XLOGF_EVERY_MS_OR

Similar to XLOGF(...) except log a message if the specified condition predicate evaluates to true or every

Synopsis

Declared in <folly/logging/xlog.h>

#define XLOGF_EVERY_MS_OR(level, cond, ms, fmt, ...)

Description

Note that this is threadsafe.

Parameters

NameDescription
msmilliseconds
levelThe folly::LogLevel value at which to log.
condA predicate; the message is logged when it is true.
fmtA folly::format-style format string for the message.