Table of Contents

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

bool

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

Exceptions

ArgumentNullException
NotSupportedException

The opt or value is not supported.