mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
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";
|
||||
var layouts = require('../layouts')
|
||||
, consoleLog = console.log;
|
||||
, consoleLog = console.log.bind(console);
|
||||
|
||||
function consoleAppender (layout) {
|
||||
layout = layout || layouts.colouredLayout;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user