BCLog::Logger::SetCategoryLogLevel

Set the override log level for a category, parsing both from strings.

Synopsis

Declared in <logging.h>

[[requires_capability(0x7f2e43eed738)]]
bool
SetCategoryLogLevel(
    std::string_view category_str,
    std::string_view level_str);

Return Value

true if both strings were parsed and the level was set.

Parameters

NameDescription
category_strThe category name to configure.
level_strThe log level name to apply.