Enables or disables the debug logging categories selected by the arguments.

Synopsis

Declared in <init/common.h>

[[nodiscard]]
util::Result<void>
SetLoggingCategories(ArgsManager const& args);

Return Value

A successful result, or an error describing an unknown category.

Note

The return value should not be discarded.

Parameters

Name

Description

args

The parsed program arguments to read the logging categories from.

Created with MrDocs