[#BloombergLP-balm-MetricsManager-setCategoryEnabled-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricsManager.adoc[MetricsManager]::setCategoryEnabled
:relfileprefix: ../../../
:mrdocs:

`setCategoryEnabled` overloads

== Synopses

Declared in `&lt;balm&lowbar;metricsmanager&period;h&gt;`

Set whether the specified `category` is enabled&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/balm/MetricsManager/setCategoryEnabled-08.adoc[setCategoryEnabled](
    xref:BloombergLP/balm/Category.adoc[Category] const* category,
    bool value = true);
----

[.small]#xref:BloombergLP/balm/MetricsManager/setCategoryEnabled-08.adoc[_» more&period;&period;&period;_]#

Set whether the named `category` is enabled&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/balm/MetricsManager/setCategoryEnabled-0a.adoc[setCategoryEnabled](
    char const* category,
    bool isEnabled = true);
----

[.small]#xref:BloombergLP/balm/MetricsManager/setCategoryEnabled-0a.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *category*
| category whose enabled state is set
| *value*
| `true` to enable the category, `false` to disable it
| *isEnabled*
| `true` to enable the category, `false` to disable it
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
