Debug

The Debug class provides features related to KiriKiri debugging. You cannot create objects from this class.
The KiriKiri console log is named krkr.console.log. Also, the file created when a hardware exception occurs is hwexcept.log.
By default, these log files are located in the project directory. However, they will not be output if the project directory is read-only, such as when it is inside an archive.
The log file output destination can be changed with the logLocation property (in KAG, it is set to the save data location).

Members

Constructor
None
Methods
addLoggingHandler ( Adds a logging handler )
getLastLog ( Retrieves logs that have not yet been output )
logAsError ( Starts outputting logs to a file as if an error occurred )
message ( Outputs a message to the console )
notice ( Outputs an important message to the console )
removeLoggingHandler ( Removes a logging handler )
startLogToFile ( Starts outputting the console log to a file )
Properties
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 )
Events
None