What is the simplest way to enable default colors logs messages in winston?
For example, if I use winston as follows:
let winston = require('winston')
winston.info('Info message')
winston.error('Error message')
I expect that the colors of info
and error
message will be respectively yellow and red?
You can use:
let winston = require('winston')
winston.cli();