Skip to content

Releases: StephanHCB/go-autumn-logging-zerolog

v0.6.0 dependencies, documentation

11 Jul 17:30
99df623
Compare
Choose a tag to compare
  • 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

20 Jun 06:34
58906cf
Compare
Choose a tag to compare

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

10 May 11:12
3528a8b
Compare
Choose a tag to compare
  • middleware now allows adding extra fields determined by callbacks

v0.3.1 zerolog update to v0.28.0

25 Sep 14:36
fecc168
Compare
Choose a tag to compare
Merge pull request #2 from StephanHCB/dependabot/go_modules/github.co…

v0.3.0 support log event callback

12 Apr 18:21
Compare
Choose a tag to compare
support log event callbacks

v0.2.0

02 Apr 10:25
Compare
Choose a tag to compare
  • improve console log readability
  • support request id with default value

v0.1.2

26 Mar 18:56
Compare
Choose a tag to compare
  • 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

14 Nov 17:08
Compare
Choose a tag to compare
v0.1.1

initial implementation, including middleware