Skip to content

Add logging #102

@dangelic

Description

@dangelic

We need logging for development and production mode, as console.log is not sufficient. Console.log lacks granularity and features like log exports etc.. Also, console.log does not distinguish between different environments like dev or prod.

  • This includes choosing a decent logger

I've chosen Winston as our logger as it is widespread, lightweight, general and serves our purpose to log different log-levels like info, warn or fatal.

  • This also includes implementing the logger in the whole code to log the triggering of certain functions and possible errors or warns.

Overall, Winston should help us to enhance our code quality

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions