Table of Contents

Method SetOption_LogDir

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

SetOption_LogDir(IMaaOption<GlobalOption>?, string)

Log dir

public static bool SetOption_LogDir(this IMaaOption<GlobalOption>? opt, string value)

Parameters

opt IMaaOption<GlobalOption>?

The option.

value string

The value.

Returns

bool

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

Remarks

value: string, eg: "C:\\Users\\Administrator\\Desktop\\log"; val_size: string length

Exceptions

ArgumentNullException
NotSupportedException

The opt or value is not supported.