Skip to content

v1.2.4

Compare
Choose a tag to compare
@thockin thockin released this 29 Mar 23:30
· 213 commits to master since this release

This is a collection of small bugfixes and documentation updates.

NOTE: A change (#166) which was thought to be compatible seems to be a breaking change. In particular, one used to be able to differentiate the result of Discard() from Logger{}. After this change, those are the same. We are considering how to address this, but do not currently plan to revert this change. Apologies!

What's Changed

  • Fix syntax in documentation by @balki in #144
  • testr: use an interface to make it work with *testing.B and *testing.F by @jeandeaual in #143
  • If logging as JSON and the type is json.RawMessage log it "as-is" by @sfc-gh-jchacon in #147
  • Make zero value useful & add .IsZero() by @wojas in #153
  • testr: merge testLogger and testLoggerInterface by @thockin in #160
  • funcr: JSON invalid output with 1st field omitted by @thockin in #159
  • Make github assign PRs and issues by @thockin in #162
  • Fix comments on optional sink interfaces by @thockin in #161
  • Add examples for Logger methods by @thockin in #163
  • funcr: optimize WithValues/WithName/WithCallDepth by @pohly in #165
  • make Discard logger equal to null logger by @pohly in #166

New Contributors

Full Changelog: v1.2.3...v1.2.4