[#FB_LOG]
= FB&lowbar;LOG
:mrdocs:

Log a message to the specified logger&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define FB&lowbar;LOG(logger, level, ...)

----

== Description

This macro avoids evaluating the log arguments unless the log level check succeeds&period;

Beware that the logger argument is evaluated twice, so this argument should be an expression with no side&hyphen;effects&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *logger*
| The logger identifying the log category&period;
| *level*
| The unqualified `folly&colon;&colon;LogLevel` name&period;
|===


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