@juliankern/jklogger
v0.0.1
Published
Simple wrapper for log4js
Downloads
3
Readme
jkLogger
Simple wrapper for log4js
Install
npm i jkLogger
Usage
const Logger = require('jkLogger');
const logger = new Logger();
logger.trace('Trace Test!');
logger.debug('Debug Test!');
logger.success('Success Test!');
logger.withStack.success('Success Test (with added stack)!');
logger.info('Info Test!');
logger.warn('Warn Test!');
logger.mark('Mark Test!');
logger.error('Error Test (always with stack)!');
logger.fatal('Fatal Test! (always with stack)');