0.0.2 • Published 11 years ago

consolelog-node v0.0.2

Weekly downloads
6
License
-
Repository
-
Last release
11 years ago

consolelog-node

####Here was the issue.. console.log is async..

#####I suspect this is the case..

console.log('this important logging stuff..')  // which never shows because we have an error next
someerror....!!!!

####Also sometimes I'm outputting this..

var title = 'mytitle', o = {...some huge object...}
console.log(title, o)  // hard to see title cause the big object pushed everything off the screen!

#####So just do this..

require('consolelog-node');   // optional set the delay in ms -- require('consolelog-node')(1000)

This hooks console.log and every parameter has a little delay before showing.. See test.js.

0.0.2

11 years ago

0.0.1

11 years ago