Skip to content

Commit

Permalink
changed logger to output to stdout insteadof stderr (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
carolshark authored Oct 2, 2018
1 parent 3b2867a commit aa542ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helpers/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

0 comments on commit aa542ed

Please sign in to comment.