Sets the global logging severity level selected by the arguments.

Synopsis

Declared in <init/common.h>

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

Return Value

A successful result, or an error describing an invalid level.

Note

The return value should not be discarded.

Parameters

Name

Description

args

The parsed program arguments to read the logging level from.

Created with MrDocs