Start outputting the log to a file as in the case of an error
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.