1 | 'use strict'
|
2 | var chalk = require('chalk')
|
3 |
|
4 | module.exports = function log (key, msg) {
|
5 | console.log(' ' + chalk.grey(key) + ' : ' + chalk.cyan(msg))
|
6 | }
|
7 |
|
8 | module.exports.error = function log (key, msg) {
|
9 | console.error(' ' + chalk.red(key) + ' : ' + chalk.white(msg))
|
10 | }
|