[#BloombergLP-balm-Category-setEnabled] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/Category.adoc[Category]::setEnabled :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setEnabled(bool enabledFlag); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#