kb-logger
v1.1.1
Published
Dead simple logger for logging to file or std output
Downloads
2
Readme
simple-logger
$ npm install --save kb-logger
var Logger = require('kb-logger');
var log = Logger.createLogger('KEEBOO');
log.setFile(config.LOG_FILE);
log.setLevel(config.LOG_LEVEL);
log.info('info');
log.debug('debug');
log.fatal('fatal');
log.warn('warn');
log.error('error');