From aa542ed982241c8608d54d42e8a1055b123607f2 Mon Sep 17 00:00:00 2001 From: carolshark Date: Tue, 2 Oct 2018 17:04:57 +0200 Subject: [PATCH] changed logger to output to stdout insteadof stderr (#16) --- helpers/logger.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helpers/logger.js b/helpers/logger.js index e383dfd..43004ee 100644 --- a/helpers/logger.js +++ b/helpers/logger.js @@ -2,5 +2,7 @@ const debug = require('debug') const info = debug('envoy-plugin:info') const warn = debug('envoy-plugin:warn') const error = debug('envoy-plugin:error') - +info.log = console.log.bind(console) +warn.log = console.log.bind(console) +error.log = console.log.bind(console) module.exports = { info, warn, error }