From: Ben Beltran Date: Wed, 24 Apr 2013 14:14:02 +0000 (-0500) Subject: Add default console X-Git-Tag: v1.1.0~37 X-Git-Url: https://git.r.bdr.sh/rbdr/cologne/commitdiff_plain/b03b58455bb63138526e363f3c5570911eb78bf8?ds=sidebyside;hp=-c Add default console --- b03b58455bb63138526e363f3c5570911eb78bf8 diff --git a/lib/loggers/console.js b/lib/loggers/console.js index 5002502..465a436 100644 --- a/lib/loggers/console.js +++ b/lib/loggers/console.js @@ -28,6 +28,10 @@ logger[property] = config[property]; } } + + if (!logger.console) { + logger.console = global.console; + } }, log : function () {