Table of Contents

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

opt IMaaOption<GlobalOption>?

The option.

value LoggingLevel

The value.

Returns

bool

true if the option was set successfully; otherwise, false.

Remarks

value: MaaLoggingLevel, val_size: sizeof(MaaLoggingLevel)

default value is MaaLoggingLevel_Error

Exceptions

ArgumentNullException
NotSupportedException

The opt or value is not supported.