Debug.logAsError

Function/Meaning

Start outputting the log to a file as in the case of an error

Type
Debugclassmethod of
Syntax
logAsError()
Arguments
Return value
None (void)
Explanation

Regarding the error log file, Kirikiri makes the same operation as when the error occurred.
That is, if Debug.logToFileOnError is true, it will start outputting console logs to a file.
At that time, if Debug.clearLogFileOnError is true, the file is cleared.
In contrast, Debug.startLogToFile unconditionally starts outputting the console log to a file.

Reference
Debug.startLogToFile
Debug.logToFileOnError
Debug.clearLogFileOnError