v1.2.4
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
- @balki made their first contribution in #144
- @jeandeaual made their first contribution in #143
- @sfc-gh-jchacon made their first contribution in #147
Full Changelog: v1.2.3...v1.2.4