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