Method SetOption_StdoutLevel
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
SetOption_StdoutLevel(IMaaOption<GlobalOption>?, LoggingLevel)
The level of log output to stdout
public static bool SetOption_StdoutLevel(this IMaaOption<GlobalOption>? opt, LoggingLevel value)Parameters
optIMaaOption<GlobalOption>?-
The option.
valueLoggingLevel-
The value.
Returns
Remarks
value: MaaLoggingLevel, val_size: sizeof(MaaLoggingLevel)
default value is MaaLoggingLevel_Error
Exceptions
- ArgumentNullException
- NotSupportedException
-
The
optorvalueis not supported.