JSPM

debug-log

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 558275
  • Score
    100M100P100Q52833F
  • License MIT

Node.js 0.12 util.debuglog() ponyfill

Package Exports

  • debug-log

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (debug-log) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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