Return log flag if str parses as a log category.
Declared in <logging.h>
static
std::optional<BCLog::LogFlags>
GetLogCategory(std::string_view str);
The matching category flag, or nullopt if the string is not a known category.
| Name | Description |
|---|---|
| str | The category name to parse. |