This project adheres to Semantic Versioning.
From version 2.0.0+ changelog is in https://github.com/Wolox/express-wolox-logger/releases
- Add
obfuscateBody
andobfuscatePlaceholder
option for secure sensitive data in body.
- Add some documentation in README.
- Refactor old
index.js
in multiple files. - Add
createLogger
function for create custom logger. - Change uuid generator for shortid, reducing ids length.
- Add options in both middlewares (
expressMiddleware
andexpressRequestIdMiddleware
) for making more configurable. - Add
jest
tests. - Add
eslint
configuration.
- Change namespace variable name from
ns
tonamespace
and exported it. - Bind end log function to the middleware context to fix some inconsistencies with it's requests ids.
- Add migration guide and publish first version.
- Initial release.