Return log flag if str parses as a log category.

Synopsis

Declared in <logging.h>

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

Name

Description

str

The category name to parse.

Created with MrDocs