debug-log

Node.js 0.12 util.debuglog() ponyfill

This package is no longer relevant as Node.js 0.12 is unmaintained.
Last updated a year ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (a year ago)

3 Versions

  • 2.0.0 [deprecated]           ...           a year ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           5 years ago

Copyright 2014 - 2016 © taobao.org |