Merge pull request #142 from crisply/master
Allows use of Console Appender when using with node-webkit
This commit is contained in:
commit
d25e1abd48
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user