diff --git a/lib/appenders/console.js b/lib/appenders/console.js index cb7f42a..7a470a3 100644 --- a/lib/appenders/console.js +++ b/lib/appenders/console.js @@ -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;