/Tupelo

Primary LanguageJavaScriptMIT LicenseMIT

Installation

npm install tupelo

var log = require('tupelo');

Set log level or disable logging at all

log.setLogLevel('INFO');
//VERBOSE DEBUG INFO WARN ERROR DISABLED

'WARN' is the default.

Log it

log.verbose('verbose logging');
log.debug('debug info');
log.info('regular info');
log.warn('warnings');
log.error('errors');

Read it

alt text