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=sidebyside;hp=73c9e15e14b9b679cba909eb9319ac0d43c8ffb6 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 () {