sane-node-logger
v1.0.1
Published
A small sane node js logger
Downloads
3
Readme
Sane Logger
A simple logger using chalk + moment for timestamps
Usage
const logger = require('sane-node-logger')
/* returns [<timestamp>] <text> */
logger.log('Hey!') /* returns white text */
logger.info('Hello!') /* returns blue text */
logger.warn('Hello!') /* returns yellow text */
logger.success('Hello!') /* returns green text */
logger.red('Hello!') /* returns red text */