akalogger

A easy to use node logger with option to print to console, save to file, and support for Sentry


Keywords
logging, logger, tools, sentry, javascript, node
License
MIT
Install
npm install akalogger@2.1.1

Documentation

akalogger

js-semistandard-style

NPM

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.

Links