Getting console appender to work with node-webkit

This commit is contained in:
Lex 2013-07-10 05:07:28 -07:00
parent 351a912a86
commit dde2e69948

View File

@ -1,6 +1,6 @@
"use strict"; "use strict";
var layouts = require('../layouts') var layouts = require('../layouts')
, consoleLog = console.log; , consoleLog = console.log.bind(console);
function consoleAppender (layout) { function consoleAppender (layout) {
layout = layout || layouts.colouredLayout; layout = layout || layouts.colouredLayout;