Skip to content

Releases: cabify/go-logging

Release v1.5.1

30 Jul 11:13
e280a6f
Compare
Choose a tag to compare

Changed

  • Make DefaultFactory of type LoggerFactory so it accepts other implementations

Release v1.5.0

30 Jul 09:21
aca7d35
Compare
Choose a tag to compare

Added

  • LoggerFactory interface abstracting Factory struct
  • DefaultFactory global var that allows to replace factory used to generate loggers

Use a public key for baggage values

03 Jun 12:00
Compare
Choose a tag to compare

Changed

  • Baggage key is now a public string "logctx-data-map-string-interface" that can be set and read by anyone from any package.
    The type of that baggage will be always map[string]interface{}

Added

  • BaggageContextKey constant that defines that string
  • Baggage(ctx) map[string]interface{} that allows reading the underlying baggage.

[1.2.0] - 2019-02-27

27 Feb 10:39
Compare
Choose a tag to compare

Added

  • ConfigureDefaultLogger boilerplate for logger configuration
  • measuredLoggingHandler to wrap loggers with metrics
  • CHANGELOG.md: this file

Same release with a newer version

27 Feb 10:16
2e59705
Compare
Choose a tag to compare

This tag was overwritten after unforking too

Initial release

27 Feb 10:15
2e59705
Compare
Choose a tag to compare
Merge pull request #4 from cabify/colega/no-debug-logger

Added NoDebugLogger that doesn't format debug logs