consolelog-node
v0.0.2
Published
Hook console.log to wait so you can read before it jumps off the screen
Downloads
3
Readme
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.