From: Ben Beltran Date: Wed, 24 Apr 2013 14:14:02 +0000 (-0500) Subject: Add default console X-Git-Url: https://git.r.bdr.sh/rbdr/cologne/commitdiff_plain/a0cca2a36ce92843f17498246cda468ecd571733?ds=inline Add default console --- 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 () {