qcarpentier / lovelace

Lovelace is (not yet) the best Discord bot to bootstrap your Discord server.
1 stars 0 forks source link

Install or create a logger in order to properly display information in the console. #8

Closed SirMishaa closed 4 years ago

SirMishaa commented 4 years ago

A logger makes it possible to display the time, the type of message, to color errors, and even to record errors in a file.

We need to set one up. There are several, but I've listed four of them :

You can find more information on how they work and what they do here: https://www.loggly.com/blog/node-js-libraries-make-sophisticated-logging-simpler/

I propose to use Winston. Winston includes the following features:

SirMishaa commented 4 years ago

@qcarpentier What do you think about it?