[#BloombergLP-ball-Category-isEnabled]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Category.adoc[Category]::isEnabled
:relfileprefix: ../../../
:mrdocs:

Return `true` if logging at the specified `level` is enabled for this category, and `false` otherwise&period;

== Synopsis

Declared in `&lt;ball&lowbar;category&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isEnabled(int level) const;
----

== Description

Logging is enabled if `level` is numerically less than or equal to any of the four threshold levels of this category&period;

== Return Value

`true` if logging at `level` is enabled, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *level*
| severity level to test
|===


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