lexicongovernance / pluraltools-backend

Backend implementation of the plural voting tool.
https://demo.lexicongovernance.org/
GNU General Public License v3.0
3 stars 1 forks source link

add logger #446

Closed diegoalzate closed 1 month ago

diegoalzate commented 2 months ago

overview

adds a pino logger, this is a very lightweight one.

there are levels of logs shown in the comment, by default it is put to info which means it includes that and everything before that level.

for example to see less you can run:

LOG_LEVEL=fatal pn dev

for tests to see logs you can run

LOG_LEVEL=debug pn dev