[#FB_LOG_RAW]
= FB&lowbar;LOG&lowbar;RAW
:mrdocs:

FB&lowbar;LOG&lowbar;RAW() can be used by callers that want to pass in the log level as a variable, and&sol;or who want to explicitly specify the filename and line number&period;

== Synopsis

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

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

----

== Description

This is useful for callers implementing their own log wrapper functions that want to pass in their caller&apos;s filename and line number rather than their own&period;

The log level parameter must be an explicitly qualified LogLevel value, or a LogLevel variable&period; (This differs from FB&lowbar;LOG() and FB&lowbar;LOGF() which accept an unqualified LogLevel name&period;)

== Parameters

[cols="1,4"]
|===
| Name| Description
| *logger*
| The logger identifying the log category&period;
| *level*
| A qualified `folly&colon;&colon;LogLevel` value or variable&period;
| *filename*
| The source filename to record&period;
| *linenumber*
| The source line number to record&period;
| *functionName*
| The function name to record&period;
|===


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