simple-color-logger
v1.2.3
Published
A simple wrapper around `console` logging functions (for Node.js) Just **colors** output and prepends it with formatted date.
Downloads
3
Readme
A simple wrapper around console
logging functions (for Node.js)
Just colors output and prepends it with formatted date.
Usage
const logger = require('simple-color-logger')('DD.MM.YYYY HH:mm:ss'/*default*/)
logger.error('error')
logger.info('info')
logger.fyi('fyi')
logger.log('log')
logger.warn('warn')
Approximate output: