Stump.js gives you more control of the data logged to the console. You can easily toggle debug messages and verbose messages on and off, as well as locate error messages faster.
Setting up a Discord channel with a webhook is a great way to save logs in a searchable format for free.
The Stump
class is invoked with two arguments: features and settings. The Debug
feature enables the debug
and verbose
log messages. The Discord
feature enables posting to a Discord webhook and requires the webhook
parameter in the settings object.
To enable timestamps, add the Timestamp
feature.
.info()
.success()
.warn()
.error()
.verbose()
.debug()