fast native logging for node.js
$ npm install flogger
var flog = require('flogger')
flog.log("foo");
Flog constructor
var flog = new Flog("app");
creates a level and function on the Flog
prototype
var flog = new Flog("app");
Flog.createLevel('fatal', 'red');
fog.fatal("something went wrong!");
log
level logging
flog.log("foo");
info
level logging
flog.info("foo");
warn
level logging
flog.warn("foo");
debug
level logging
flog.debug("foo");
error
level logging
flog.error("oops!");
console.log completed 1000 in 15 ms
process.stdout.write completed 1000 in 6 ms
flog.log completed 1000 in 4 ms
MIT