[#BCLog-Logger-WillLogCategory]
= xref:BCLog.adoc[BCLog]::xref:BCLog/Logger.adoc[Logger]::WillLogCategory
:relfileprefix: ../../
:mrdocs:

Check whether a category is enabled at all&period;

== Synopsis

Declared in `&lt;logging&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
WillLogCategory(xref:BCLog/LogFlags.adoc[LogFlags] category) const;
----

== Return Value

true if the category would be logged&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *category*
| The category to test&period;
|===


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