debug-log
Node.js 0.12 util.debuglog() ponyfill
Last updated 10 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install debug-log 
SYNC missed versions from official npm registry.

Deprecated

This package is no longer relevant as Node.js 0.12 is unmaintained.


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

Current Tags

  • 2.0.0                                ...           latest (8 years ago)

3 Versions

  • 2.0.0 [deprecated]           ...           8 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Total 26
Today 0
This Week 0
This Month 8
Last Day 0
Last Week 3
Last Month 9
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE