0.1.7 • Published 8 years ago
wara v0.1.7
With this logger you can get some shorter methods for some typical and trivial loggers, like console.log.
Wara uses colours/safe package to get coloured logs in the console
It's quite a lot beta, please be patient
var log = require('wara');
var logger = log();
logger.debug_mode = false; // this comes by default. if true, the debug commands will be shown
logger.info("Some simple and informative message");
log("fast logger.info method");
logger.important("Some important message");
logger.time(); // it logs the actual time
logger.rainbow("Some rainbow colored text");
logger.debug("This is only gets printed if debug_mode is true");
logger.debug_important("An important message in debug mode");