Getting console appender to work with node-webkit
This commit is contained in:
parent
351a912a86
commit
dde2e69948
@ -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