BloombergLP::balm::Category::setEnabled

Set the enabled state of this category to the value of the specified enabledFlag and update any CategoryHolder objects registered with this category. Note that this operation is not atomic, and other threads may simultaneously access the current enabled value while this operation is performed. Also note that this operation has linear performance with respect to the number of registered category holders for category.

Synopsis

Declared in <balm_category.h>

void
setEnabled(bool enabledFlag);