@coozzy/logger

Logging library based on winston

Usage no npm install needed!

<script type="module">
  import coozzyLogger from 'https://cdn.skypack.dev/@coozzy/logger';
</script>

README

coozzy-logger

This package can be used to easily log in the coozzy environment.

Log level

You can set the environment variable LOG_LEVEL to the following levels to ensure that only these levels are actually logged.

  • debug (default)
  • info
  • warn
  • error

Request ID

It uses the @coozzy/request-id dependency to add the requestId on each log entry.

Dependencies