]> git.r.bdr.sh - rbdr/cologne/commitdiff
Add default console
authorBen Beltran <redacted>
Wed, 24 Apr 2013 14:14:02 +0000 (09:14 -0500)
committerBen Beltran <redacted>
Wed, 24 Apr 2013 14:14:02 +0000 (09:14 -0500)
lib/loggers/console.js

index 50025022a97f8b087c34ddca80e02b7534c6d301..465a436a5e968114e3f76a502dfdbbcf52f3d968 100644 (file)
             logger[property] = config[property];
           }
         }
             logger[property] = config[property];
           }
         }
+
+        if (!logger.console) {
+          logger.console = global.console;
+        }
       },
 
       log : function () {
       },
 
       log : function () {