Skip to content
This repository has been archived by the owner. It is now read-only.
Node.js 0.12 util.debuglog() ponyfill
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
.jshintrc
.travis.yml
index.js
license
package.json
readme.md
test.js

readme.md

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

You can’t perform that action at this time.