diff --git a/lib/core/plugin.js b/lib/core/plugin.js index 1b579c85d..e44f6f1f0 100644 --- a/lib/core/plugin.js +++ b/lib/core/plugin.js @@ -40,11 +40,12 @@ Plugin.prototype.interceptLogs = function(context) { var self = this; // TODO: this is a bit nasty, figure out a better way context.console = context.console || console; - context.console.error = function(txt) { - // TODO: logger should support an array instead of a single argument - //self.logger.error.apply(self.logger, arguments); - self.logger.error(self.name + " > " + txt); - }; + + //context.console.error = function(txt) { + // // TODO: logger should support an array instead of a single argument + // //self.logger.error.apply(self.logger, arguments); + // self.logger.error(self.name + " > " + txt); + //}; context.console.log = function(txt) { self.logger.info(self.name + " > " + txt); };