console-spy
listen in on calls to the global console
object
install
npm install https://pkg.mkr.sx/console-spy/4.0.0.tgz
use
var cs = var spy = console // spy can be disabledspyconsole // and re-enabledspyconsole // and all the console methods// can be spied uponconsole { "First message" "Third message"} { "On no!" 123}