README
logger4nodejs
A basic, simple logger library for node js
Usage
const logger = require('logger4nodejs');
logger.log('Default Logging Style');
logger.log()
: Default logging stylelogger.debug()
: Bright green color text. No icon.logger.warn()
: Bright yellow color text with an alert icon(⚠) before the message.logger.error()
: Bright red color text with a 'cross' icon(✖) before the message.logger.info()
: Bright blue color text with an info icon(ℹ️) before the message.