[#BCLog-Logger-EnableCategory-0eb]
= xref:BCLog.adoc[BCLog]::xref:BCLog/Logger.adoc[Logger]::EnableCategory
:relfileprefix: ../../
:mrdocs:

Enable a log category, parsing it from a string&period;

== Synopsis

Declared in `&lt;logging&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
EnableCategory(std::string&lowbar;view str);
----

== Return Value

true if the string named a valid category&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| The category name to enable&period;
|===


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