[#BloombergLP-ball-Log-isCategoryEnabled] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Log.adoc[Log]::isCategoryEnabled :relfileprefix: ../../../ :mrdocs: Return whether logging is enabled for the category at the severity. == Synopsis Declared in `<ball_log.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool isCategoryEnabled( xref:BloombergLP/ball/CategoryHolder.adoc[CategoryHolder] const* categoryHolder, int severity); ---- == Description Return `true` if logging to the category associated with the specified `categoryHolder` at the specified `severity` is enabled, or if `Severity::e_WARN >= severity` and the logger manager singleton is not initialized; return `false` otherwise. == Return Value `true` if logging is enabled, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *categoryHolder* | category holder whose thresholds are tested | *severity* | severity level to test for enablement |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#