[#BCLog-Logger-EnableCategory-09] = xref:BCLog.adoc[BCLog]::xref:BCLog/Logger.adoc[Logger]::EnableCategory :relfileprefix: ../../ :mrdocs: `EnableCategory` overloads == Synopses Declared in `<logging.h>` Enable a log category. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BCLog/Logger/EnableCategory-0e2.adoc[EnableCategory](xref:BCLog/LogFlags.adoc[LogFlags] flag); ---- [.small]#xref:BCLog/Logger/EnableCategory-0e2.adoc[_» more..._]# Enable a log category, parsing it from a string. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BCLog/Logger/EnableCategory-0eb.adoc[EnableCategory](std::string_view str); ---- [.small]#xref:BCLog/Logger/EnableCategory-0eb.adoc[_» more..._]# == Return Value true if the string named a valid category. == Parameters [cols="1,4"] |=== | Name| Description | *flag* | The category to enable. | *str* | The category name to enable. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#