SetCategoryLogLevel overloads

Synopses

Declared in <logging.h>

Replace all per‐category log levels.

[[requires_capability(0x7f2e43eed4b8)]]
void
SetCategoryLogLevel(std::unordered_map<LogFlags, Level> const& levels);

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

[[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

Name

Description

levels

The new map from category to override log level.

category_str

The category name to configure.

level_str

The log level name to apply.

Created with MrDocs