bare-debug-log
v2.0.0
Published
Simple debug log for JavaScript
Downloads
19
Readme
bare-debug-log
Simple debug log for JavaScript.
npm i bare-debug-log
Usage
const log = require('bare-debug-log')('foo')
log('hello from foo [%d]', 123)
$ BARE_DEBUG=foo bare index.js
FOO 3245: hello from foo [123]
License
Apache-2.0