- Fix a bug (found thanks to a user): display the level of the record not the handler (!).
- Switch from
exp/slog
tolog/slog
and fromexp/slices
toslices
now that Go 1.21 has been released. - Adjust the
NewHandler
function to match the latestslog
API. - Use a pointer to
sync.Mutex
rather thansync.Mutex
. See this discussion in the guide to writingslog
handlers for why: https://bit.ly/3s2KrOG. - Add
testing/slogtest
. - Fix a bug (found thanks to
testing/slogtest
): move the test forAttr.Empty
to catch all empty attrs. - Fix a bug (found thanks to
testing/slogtest
): make sure to callResolve
on all attribute values.