The code base contain a lot of console.log() messages that are constantly spamming the pm2 logs.
We should write a debug log wrapper to use a config option of : debug: true to enable/disable those.
Perhaps something like:
bLog: function (blob) {
if (this.config.debug == true) {
console.error(blob);
}
}
The code base contain a lot of
console.log()
messages that are constantly spamming the pm2 logs. We should write a debug log wrapper to use a config option of :debug: true
to enable/disable those.Perhaps something like: