5.5.0 • Published 2 years ago

@turbot/log v5.5.0

Weekly downloads
122
License
Apache-2.0
Repository
github
Last release
2 years ago

turbot-log

Overview

Logs in Turbot are expected to be:

  • JSON format
  • Written to stdout

For both Docker and AWS Lambda this is fairly easy to achieve since console.log from node.js will end up feeding log entries. We can use a tool like Winston to produce JSON log entries while limiting them to the correct log level.

Why write a logging package?

We'd prefer to use winston or bunyan or similar, but found all of those packages unsuitable for our simple requirements. For example, with winston:

  1. The logging level cannot be changed per request.
  2. The metadata object cannot be replaced, but must be modified inline.
5.5.0

2 years ago

5.4.0

3 years ago

5.3.0

4 years ago

5.2.0

5 years ago

5.1.0

5 years ago

5.0.5

5 years ago

5.0.4

6 years ago

5.0.3

6 years ago

5.0.2

6 years ago

5.0.1

6 years ago

5.0.0

6 years ago

5.0.0-beta.1

6 years ago