Использование мела и Моргана вместе
var chalk = require('chalk')
var morgan = require('morgan')
app.use(morgan(function (tokens, req, res) {
return chalk.blue(tokens.method(req, res))
+ ' ' + chalk.green(tokens.url(req, res))
+ ' ' + chalk.red(tokens['response-time'](req, res))
}))
Xerothermic Xenomorph