tree: 23847ca90f24621fd20fdd8fa567afcc6c90bee4 [path history] [tgz]
  1. index.js
  2. license
  3. package.json
  4. readme.md
node_modules/nyc/node_modules/debug-log/readme.md

debug-log Build Status

Node.js 0.12 util.debuglog() ponyfill

Install

$ npm install --save debug-log

Usage

// example.js
var debugLog = require('debug-log')('foo');

debugLog('unicorns & rainbows');
$ node example.js

$ NODE_DEBUG=foo node example.js
FOO 3245: unicorns & rainbows

API

See the util.debuglog() docs.

License

MIT © Sindre Sorhus