diff --git a/lib/appenders/console.js b/lib/appenders/console.js index 32b7156..a5a14c7 100644 --- a/lib/appenders/console.js +++ b/lib/appenders/console.js @@ -1,9 +1,10 @@ -var layouts = require('../layouts'); +var layouts = require('../layouts'), + consoleLog = console.log; function consoleAppender (layout) { layout = layout || layouts.colouredLayout; return function(loggingEvent) { - console._preLog4js_log(layout(loggingEvent)); + consoleLog(layout(loggingEvent)); }; }