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

Check whether a category would be logged at a given level&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e43eed878)&rsqb;&rsqb;
bool
WillLogCategoryLevel(
    xref:BCLog/LogFlags.adoc[LogFlags] category,
    xref:BCLog/Level.adoc[Level] level) const;
----

== Return Value

true if an entry of this category and level would be logged&period;

== Parameters

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


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