Merge pull request #142 from crisply/master

Allows use of Console Appender when using with node-webkit
This commit is contained in:
Gareth Jones 2013-07-14 18:32:26 -07:00
commit d25e1abd48

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;