[#BloombergLP-ball-LoggerManager-isCategoryEnabled] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/LoggerManager.adoc[LoggerManager]::isCategoryEnabled :relfileprefix: ../../../ :mrdocs: Return `true` if the specified `severity` is more severe (i.e., is numerically less than) at least one of the threshold levels of the specified `category`, and `false` otherwise. If the returned `value` is `false`, then a subsequent call to `getLogger().logMessage()` (with `category` and `severity`) will have no effect. This method compares `severity` with the threshold levels determined by combining `category‐>thresholdLevels()` with the thresholds provided by any relevant and active logging rules (in `ruleSet()`) that apply to `category`. Note that a rule applies to `category` if the rule's pattern matches `category‐>categoryName()`, and a rule is active if all the predicates defined for that rule are satisfied by the current thread's attributes (i.e., `Rule::evaluate()` returns `true` for the collection of attributes maintained by the current thread's `AttributeContext` object). == Synopsis Declared in `<ball_loggermanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isCategoryEnabled( xref:BloombergLP/ball/Category.adoc[Category] const* category, int severity) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#