abstractor
Version:
Node.js abstraction layer and automation framework.
13 lines (11 loc) • 380 B
JavaScript
var
// Initialize abstractor
flow = require("../lib")({ logLevel: 5});
genError = flow("generic", function (msg) {
this.log.warning("DEBUG", 'Woop');
this.log.notice("DEBUG", 'Hellu');
this.log.error("DEBUG", 'Woah!',"lol");
this.log.log("DEBUG", "Alpha");
this.log.throw("DEBUG", "I'm outta here");
});
genError.start({});