Open cvan opened 9 years ago
I would also like to see us experiment with the debug() module: https://github.com/visionmedia/debug
It's really nice to work with this on servers, and we should also be able to package it up and use it on the frontend.
totally, TJ's stuff is legit. with browserify, we can totally use it.
it'd be nice if we had a simple wrapper around
console
logging so we can easily toggle logging. so like in development mode, we get all the logs, notices, etc. but in production mode, show only errors.in the past, I've always rolled my own, but I'd encourage us to use battle-tested ones. https://github.com/pimterry/loglevel seems decent.