Skip to content

Commit

Permalink
refactor(log): replace bunyan with pino log lib
Browse files Browse the repository at this point in the history
bunyan has not been updated since 3 years.
Use a more recent and faster log library.

Add also log configuration via NODE_ENV env variable.
When NODE_ENV is set to 'development' the log level is set to 'debug'.
Otherwise, the log level is set to 'info'.
  • Loading branch information
Conaclos committed Mar 30, 2020
1 parent db3f287 commit 766ce58
Show file tree
Hide file tree
Showing 5 changed files with 105 additions and 103 deletions.
Loading

0 comments on commit 766ce58

Please sign in to comment.