Return whether logging is enabled for the category at the severity.
Declared in <ball_log.h>
static
bool
isCategoryEnabled(
CategoryHolder const* categoryHolder,
int severity);
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.
true if logging is enabled, and false otherwise
| Name | Description |
|---|---|
| categoryHolder | category holder whose thresholds are tested |
| severity | severity level to test for enablement |