Yankun168 cb620fbdc3 5.10存档 hai 1 ano
..
node_modules cb620fbdc3 5.10存档 hai 1 ano
src cb620fbdc3 5.10存档 hai 1 ano
LICENSE cb620fbdc3 5.10存档 hai 1 ano
README.md cb620fbdc3 5.10存档 hai 1 ano
index.js cb620fbdc3 5.10存档 hai 1 ano
package.json cb620fbdc3 5.10存档 hai 1 ano

README.md

debug-fabulous

Install

npm install --save debug-fabulous

Purpose

Wrapper / Extension around visionmedia's debug to allow lazy evaluation of debugging via closure handling.

This library essentially wraps two things:

Use

For thorough usage see the tests.

lazy-eval

var debug = require('')();
// force namespace to be enabled otherwise it assumes process.env.DEBUG is setup
// debug.save('myNamespace');
// debug.enable(debug.load())
debug = debug('debug-fabulous');
debug(function(){return 'ya something to log' + someLargeHarryString;});
debug('small out');