Skip to content

Releases: mattermost/logr

v2.0.21

22 Nov 10:37
1d340b9
Compare
Choose a tag to compare

What's Changed

  • [MM-55614] Remove trailing comma from lists by @hanzei in #46

Full Changelog: v2.0.20...v2.0.21

v2.0.20

15 Nov 06:39
a9cb1dc
Compare
Choose a tag to compare

What's Changed

  • Allow passing a byte slice as a string field by @hanzei in #45

Full Changelog: v2.0.19...v2.0.20

v2.0.19

14 Nov 08:20
a02d145
Compare
Choose a tag to compare

What's Changed

  • Fix error message typo by @wiggin77 in #42
  • Add type constraints for Map and Array fields by @hanzei in #43
  • Simplify Field API using generics by @hanzei in #44

Full Changelog: v2.0.18...v2.0.19

v2.0.18

11 Aug 18:42
918322d
Compare
Choose a tag to compare
  • add support for limiting length of log record message and fields.

v2.0.16

01 Feb 04:21
45a1ed2
Compare
Choose a tag to compare
  • use params.Host over params.IP for syslog config
  • don't allow empty short_message for Gelf formatter

v2.0.15

10 Sep 20:31
b04a614
Compare
Choose a tag to compare
  • fixes a bug where a single item in an array of key/value pairs failed with an IndexOutOfRange.

v2.0.14

10 Sep 16:25
51a79cd
Compare
Choose a tag to compare
  • export the fields in config.Factories so custom targets can be created outside the Logr package.

v2.0.12

09 Sep 18:28
b544af1
Compare
Choose a tag to compare
  • add name/value pair APIs to Sugar logger
  • fix stacktrace for StdFilter

v2.0.11

24 Aug 20:39
fb95ec7
Compare
Choose a tag to compare
  • add support for a test logger that outputs to (*testing.T).Log.
  • provide a thread-safe bytes.Buffer that can be used for logging to in-memory buffer (useful for unit tests).

v2.0.10

13 Aug 00:10
b58543b
Compare
Choose a tag to compare
  • fixes the getPackageName feature needed to accurately determine the correct caller field value for log records.