Skip to content

Version 1.3.0

Compare
Choose a tag to compare
@marcbachmann marcbachmann released this 01 Jun 21:19
· 12 commits to master since this release
741a741

Features:

Add options.obfuscate support (#34)
It allows to you to obfuscate nested properties of the logged json.
e.g.

bunyanLogger({
  obfuscate: ['req.headers.Authorization', 'req.body.password']
}))

Please consult the readme for more details:
https://github.com/villadora/express-bunyan-logger#optionsobfuscate