[#init-SetLoggingLevel] = xref:init.adoc[init]::SetLoggingLevel :relfileprefix: ../ :mrdocs: Sets the global logging severity level selected by the arguments. == Synopsis Declared in `<init/common.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] xref:util/Result.adoc[util::Result<void>] SetLoggingLevel(xref:ArgsManager.adoc[ArgsManager] const& args); ---- == Return Value A successful result, or an error describing an invalid level. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *args* | The parsed program arguments to read the logging level from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#