improved logging

This commit is contained in:
cubedro 2015-05-06 07:15:58 +03:00
parent df2916c4d0
commit 9478e60eb8

View File

@ -34,7 +34,7 @@ var types = [
{ {
name: "success", name: "success",
inherit: 'log', inherit: 'log',
sign: '=s=', sign: '==',
signColor: chalk.green, signColor: chalk.green,
messageColor: chalk.bold.green, messageColor: chalk.bold.green,
formatter: function (sign, message) formatter: function (sign, message)
@ -44,7 +44,7 @@ var types = [
}, },
{ {
name: "warn", name: "warn",
sign: '=!=', sign: '==',
signColor: chalk.yellow, signColor: chalk.yellow,
messageColor: chalk.bold.yellow, messageColor: chalk.bold.yellow,
formatter: function (sign, message) formatter: function (sign, message)
@ -54,7 +54,7 @@ var types = [
}, },
{ {
name: "error", name: "error",
sign: '=x=', sign: '==',
signColor: chalk.red, signColor: chalk.red,
messageColor: chalk.bold.red, messageColor: chalk.bold.red,
formatter: function (sign, message) formatter: function (sign, message)