JSPM

debug-log

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 681972
  • Score
    100M100P100Q53243F
  • 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

debug-log Build Status

Node.js 0.12 util.debuglog() ponyfill

Ponyfill: A polyfill that doesn't overwrite the native method

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