[#init-SetLoggingCategories] = xref:init.adoc[init]::SetLoggingCategories :relfileprefix: ../ :mrdocs: Enables or disables the debug logging categories 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>] SetLoggingCategories(xref:ArgsManager.adoc[ArgsManager] const& args); ---- == Return Value A successful result, or an error describing an unknown category. [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 categories from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#