[#XLOGF_EVERY_MS_IF]
= XLOGF&lowbar;EVERY&lowbar;MS&lowbar;IF
:mrdocs:

Similar to XLOGF(&period;&period;&period;) except only log a message every

== Synopsis

Declared in `&lt;folly&sol;logging&sol;xlog&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define XLOGF&lowbar;EVERY&lowbar;MS&lowbar;IF(level, cond, ms, fmt, ...)

----

== Description

Note that this is threadsafe&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ms*
| milliseconds and if the specified condition predicate evaluates to true&period;
| *level*
| The `folly&colon;&colon;LogLevel` value at which to log&period;
| *cond*
| A predicate&semi; the message is logged only when it is true&period;
| *fmt*
| A `folly&colon;&colon;format`&hyphen;style format string for the message&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
