Comparing version 2.0.20 to 2.0.21
@@ -66,6 +66,11 @@ | ||
} else if (length && msg[0] === '*' && msg[length - 1] === '*') { | ||
output.push(Style(Style.RED, msg)); | ||
} else if (length && msg[0] === '!' && msg[length - 1] === '!') { | ||
output.push(Style(Style.RED_BOLD, msg)); | ||
// for error or Error | ||
} else if (length && msg.substr(1, 4) === 'rror') { | ||
output.push(Style(Style.RED, msg)); | ||
} else if (length && msg.substr(0, 4) === 'fail') { | ||
output.push(Style(Style.RED, msg)); | ||
} else if (length && msg.substr(0, 7) === 'http://') { | ||
@@ -72,0 +77,0 @@ output.push(Style(Style.UNDERLINE, msg)); |
{ | ||
"name": "logging", | ||
"version": "2.0.20", | ||
"version": "2.0.21", | ||
"description": "Super sexy color console logging with cluster support.", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/dylang/logging", |
Sorry, the diff of this file is not supported yet
39506
194