Fueled / nodejs-graphql-template

Opinionated starter template for NodeJS based GraphQL Server with prisma used at Fueled.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Standardized logging

kasparszarinovs opened this issue · comments

Make use of winston logger everywhere.
Ideally console.log should not be used for anything other than debugging during development.

Cloud based logging - potential add winston transport for cloud based logging capability. E.g. AWS Cloudwatch.

@lcnandre good spot! I think this could be a part of this if we enable all logging to go via something like logger.<info|debug|error|etc>(...). If not as an error rule, at least as a warning.