[#XLOG_GET_CATEGORY]
= XLOG&lowbar;GET&lowbar;CATEGORY
:mrdocs:

Get a pointer to the LogCategory that will be used by XLOG() statements in this file&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define XLOG&lowbar;GET&lowbar;CATEGORY()

----

== Description

This is just a small wrapper around a LoggerDB&colon;&colon;getCategory() call&period; This must be implemented as a macro since it uses *FILE*, and that must expand to the correct filename based on where the macro is used&period;


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