logtown-bunyan

Logtown wrapper for bunyan logger

Usage no npm install needed!

<script type="module">
  import logtownBunyan from 'https://cdn.skypack.dev/logtown-bunyan';
</script>

README

logtown-bunyan

Logtown wrapper for bunyan logger

Installation

yarn add logtown-bunyan bunyan

or

npm install logtown-bunyan bunyan

Usage

const logtown = require('logtown');
const BunyanWrapper  = require('logtown-bunyan');

logtown.addWrapper(new BunyanWrapper());

For reference of bunyan options see bunyan docs

ES5 usage

var BunyanWrapper = require('logtown-bunyan/es5');

License

logtown-bunyan is released under the MIT license.

Donate