Debug

The Debug class is a class that provides functions related to debugging KiriKiri.
You cannot create objects from this class.
The name of the Kirikiri console log will be krkr.console.log.
Also, the file created when a hardware exception occurs is her hwexcept.log.
These log files default to the project directory.
However, if the project directory is a non-writable directory such as an archive, it will not be output.
The output destination of the log file can be changed with the logLocation property (in the case of KAG, it is set as the save destination of bookmark data).
On Windows, the console is the command prompt, and on Android, the output is to logCat.

Member

Method
addLoggingHandler (Add a log handler)
getLastLog (Get unoutput logs)
logAsError (Start outputting the log to a file as in the case of an error)
message (Output message to console)
notice (Output important messages to the console)
removeLoggingHandler (Delete the log handler)
startLogToFile (Start output of console log)
Property
clearLogFileOnError (Whether to clear the console log file when an error occurs)
logLocation (Log file output destination)
logToFileOnError (Whether to output the console log to a file when an error occurs)