Singleton logging with levels
My very own Node.js logging library! Crazy that no one else thought of this first!
npm install loge
git clone https://github.com/chbrown/loge.git
var logger = require'loge';loggerlevel = 'error';logger.warn'You should probably get a doctor to look at that.'; // crickets...loggercritical'OMG your face I you what no really just does it hurt?'; // loud and clear!
Copyright © 2014 Christopher Brown. MIT Licensed.