From dde2e69948a5b92a32ef905489b54b786f52edc4 Mon Sep 17 00:00:00 2001 From: Lex Date: Wed, 10 Jul 2013 05:07:28 -0700 Subject: [PATCH] Getting console appender to work with node-webkit --- lib/appenders/console.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/appenders/console.js b/lib/appenders/console.js index cb7f42a..7a470a3 100644 --- a/lib/appenders/console.js +++ b/lib/appenders/console.js @@ -1,6 +1,6 @@ "use strict"; var layouts = require('../layouts') -, consoleLog = console.log; +, consoleLog = console.log.bind(console); function consoleAppender (layout) { layout = layout || layouts.colouredLayout;