This plugin adds the
log() method to an Appcore app. Under the hood, it uses debug, meaning it is both colorful and cross-platform compatible.
The plugin also adds some alternative logging methods in case you need to be more specific.
Using these methods instead of the generic
log() method means you can filter out messages based on their level.
app; // will only log info, warn and error messages
Note: This plugin will catch and log errors thrown by the application, instead of crashing the program like normal. Set
false before running the plugin to disable this feature.