0.1.1 ā€¢ Published 9 years ago

stringify-debug v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

stringify-debug

wrapper for debug, stringify object

Example

var debug = require('..')('debug:object');

debug('input', undefined, true, null, 1, { x:1, y:2, z:[3,4], w:{ a:5, b:6 } }, f)

function f() {
}

output:

āŒ˜ DEBUG=* node example/stdout.js
  debug:object input +0ms undefined true null 1 {"x":1,"y":2,"z":[3,4],"w":{"a":5,"b":6}} [function]f