@zakku/winston-logs

An elegant log formatter for Winston

Usage no npm install needed!

<script type="module">
  import zakkuWinstonLogs from 'https://cdn.skypack.dev/@zakku/winston-logs';
</script>

README

Winston Logs

An elegant log formatter for Winston

version dependencies downloads

Installation

yarn add @zakku/winston-logs
# or
npm i @zakku/winston-logs

Options

The formatter has no real options and by default it works with errors, objects and splats.
The only way to customize the formatter is to add an label format before it, this will append the label into the logs just after the level.

Examples

formatter example