5.0.0 • Published 4 months ago

productionize v5.0.0

Weekly downloads
131
License
MIT
Repository
github
Last release
4 months ago

productionize

NPM

Does a few simple things like overriding console.log and console.error to use for JSON logging bunyan.

It will also reduce the precision of numbers to 6 digits (so Fluentd doesn't get upset).

tl;dr: ~20 lines used in a bunch of production apps.

Usage

// at the very top of your app's entry:
require('productionize')('your-app-name-for-logging')

License

MIT

5.0.0

4 months ago

4.1.0

6 years ago

4.0.0

7 years ago

3.0.0

7 years ago

2.0.0

8 years ago

1.0.0

9 years ago