[#BCLog-Logger-GetLogCategory] = xref:BCLog.adoc[BCLog]::xref:BCLog/Logger.adoc[Logger]::GetLogCategory :relfileprefix: ../../ :mrdocs: Return log flag if str parses as a log category. == Synopsis Declared in `<logging.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::optional<BCLog::LogFlags> GetLogCategory(std::string_view str); ---- == Return Value The matching category flag, or nullopt if the string is not a known category. == Parameters [cols="1,4"] |=== | Name| Description | *str* | The category name to parse. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#