You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit retools the way we do testing of sloghandler. It moves the
test implementations of LogSink and SlogSink into new files and then
runs the standard slog tests against them, which excercises both the
SlogSlink and plain LogSink paths.
It also retools sloghandler to handle slog Attrs a bit better and fixes
some of the previous exceptions to slog's standard test. It still
doesn't hande groups "properly", but this is simpler and users who
really need slog support should use an impl that supports SlogSink (e.g.
funcr).
0 commit comments