[#XLOG_IF] = XLOG_IF :mrdocs: Log a message 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 XLOG_IF(level, cond, ...) ---- == 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#