From 34c9d9b8291933e654deeb0c3465b48747a2ce57 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Wed, 20 Aug 2014 15:47:57 -0400 Subject: [PATCH 1/2] fix logging --- util/log.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/util/log.js b/util/log.js index b34714eb8..84d31ae49 100644 --- a/util/log.js +++ b/util/log.js @@ -1,9 +1,7 @@ 'use strict'; var noop = function() {}; -var cl = function() { - console.log(arguments); -}; +var cl = console.log; var loggers = { none: { From f53c91a5d1efc2c15c5a1bff50759a5531baf124 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Thu, 21 Aug 2014 09:51:46 -0400 Subject: [PATCH 2/2] fix logging 2 --- util/log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/log.js b/util/log.js index 84d31ae49..fbbd5a6a7 100644 --- a/util/log.js +++ b/util/log.js @@ -1,7 +1,7 @@ 'use strict'; var noop = function() {}; -var cl = console.log; +var cl = console.log.bind(console); var loggers = { none: {