Global

Methods

(protected) debug(arguments)

Method to log all debug events with an optional Boolean so that debug comments can be left in the code.

Parameters:
Name Type Description
arguments *

Any number of arguments to print to the console, the last argument will be checked for the 'W', 'E', 'I' characters which signify the log type warn, error or info.