[#XLOGF_IF] = XLOGF_IF :mrdocs: Log a message using a format string if and only if the specified condition predicate evaluates to true. Note that the condition is _only_ evaluated if the log‐level check passes. == Synopsis Declared in `<folly/logging/xlog.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- #define XLOGF_IF(level, cond, fmt, ...) ---- == Parameters [cols="1,4"] |=== | Name| Description | *level* | The `folly::LogLevel` value at which to log. | *cond* | A predicate; the message is logged only when it is true. | *fmt* | A `folly::format`‐style format string for the message. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#