Releases: StephanHCB/go-autumn-logging-zerolog
Releases · StephanHCB/go-autumn-logging-zerolog
v0.6.0 dependencies, documentation
- update zerolog from v1.29.1 to v1.33.0
- update logging api to v0.4.0
- documentation changes
v0.5.0 add options structure
With this release, AddCustomJsonLogField is deprecated and has its functionality removed (though the function stays in place so this won't break compiles).
Please use the provided options structure to set up additional logging fields for the logger middleware from now on.
v0.4.0 support additional json logging fields in middleware
- middleware now allows adding extra fields determined by callbacks
v0.3.1 zerolog update to v0.28.0
Merge pull request #2 from StephanHCB/dependabot/go_modules/github.co…
v0.3.0 support log event callback
support log event callbacks
v0.2.0
- improve console log readability
- support request id with default value
v0.1.2
- add tests that show how to use
- export a method that shows how to set the log level (was possible before, but not obvious)
- export a method that adds the logger to a context (was possible before, but not obvious)
initial release
v0.1.1 initial implementation, including middleware