mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-25 10:01:30 -04:00
702 B
702 B
debug-log 
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