akalogger
v2.1.1
Published
A easy to use node logger with option to print to console, save to file, and support for Sentry
Downloads
3
Readme
akalogger
A easy to use node logger with option to print to console, save to file, and support for Sentry.
Installing
npm i --save akalogger
Usage
let Akalogger = require('akalogger');
let logger = new Akalogger(); // Create logger that will print to console
logger.log('This is a test log');
logger.debug('This is a test log');
logger.error('This is a test log');
logger.info('This is a test log');
logger.warn('This is a test log');
See the included examples in the examples
folder.