Method SetOption_StdoutLevel
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
SetOption_StdoutLevel(IMaaOption<GlobalOption>?, LoggingLevel)
Sets value to an option.
public static bool SetOption_StdoutLevel(this IMaaOption<GlobalOption>? opt, LoggingLevel value)Parameters
optIMaaOption<GlobalOption>?-
The option.
valueLoggingLevel-
The value.
Returns
Exceptions
- ArgumentNullException
- NotSupportedException
-
The
optorvalueis not supported.