Skip to content

Releases: hekmon/httplog

v3.0.0

Choose a tag to compare

@hekmon hekmon released this 16 Feb 15:28
v3.0.0
85dbe79

more flexible and independant flushers configuration

v2.0.3

Choose a tag to compare

@hekmon hekmon released this 22 May 14:37
v2.0.3
8a4360e

Fix streaming detection now using prefix matching to fix a bug when content types has charset details

v2.0.2

Choose a tag to compare

@hekmon hekmon released this 09 Oct 14:42
9883d21

Support standard http handlers in addition to handler funcs.

Old Log method for http handler funcs has been renamed LogFunc as Log now is used for classic http handlers.

v1.2.0

Choose a tag to compare

@hekmon hekmon released this 08 Aug 13:33
9584fba
  • Sanitize header Authorization in debug log level (can be configured with the headers list to sanitize httplog.SanitizeHeaders global package variable)
  • Add an helper to (more) easily get a slog.Attr containing the request id from current context (see GetReqIDSLogAttr() func and readme)

v1.1.0

Choose a tag to compare

@hekmon hekmon released this 04 Jun 09:50
4ccaa92
  • Added TotalRequests() which returns the last request id (and so the number of requests that passed thru the logger)

v1.0.0

Choose a tag to compare

@hekmon hekmon released this 04 Jun 09:41
b872548
  • initial release