Colm3na / polkastats-backend-v3

polkastats.io backend repository
Apache License 2.0
17 stars 15 forks source link

Use proper logger instead console.log #111

Open Bigomby opened 4 years ago

Bigomby commented 4 years ago

Currently the application is using console.log for logging. We should avoid using it on production, instead a proper logger should be used.

I propose pino, which has good performance and outputs useful info for production environments and pretty logs in development environments.

mariopino commented 4 years ago

Hey @Bigomby, is something blocking this? I think we just need to: