From 12c88debf431386aceb7b76164722a1f35946860 Mon Sep 17 00:00:00 2001 From: Max-P Date: Wed, 27 Apr 2016 03:42:54 -0400 Subject: [PATCH] Fix derp in new logger (#283) Chose to rename to `error` as that's what's used everywhere and what the `console` object would expose, so it's more of a drop-in replacement. --- src/log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.js b/src/log.js index b973e503..eb792bfe 100644 --- a/src/log.js +++ b/src/log.js @@ -14,7 +14,7 @@ function timestamp(type, messageArgs) { return messageArgs; } -exports.err = function() { +exports.error = function() { console.error.apply(console, timestamp(colors.red("[ERROR]"), arguments)); };