Skip to content

Commit

Permalink
Bump slog
Browse files Browse the repository at this point in the history
  • Loading branch information
lmittmann committed May 11, 2023
1 parent 3ce584b commit a6123dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/lmittmann/tint

go 1.20

require golang.org/x/exp v0.0.0-20230420155640-133eef4313cb
require golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
golang.org/x/exp v0.0.0-20230420155640-133eef4313cb h1:rhjz/8Mbfa8xROFiH+MQphmAmgqRM0bOMnytznhWEXk=
golang.org/x/exp v0.0.0-20230420155640-133eef4313cb/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=
golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea h1:vLCWI/yYrdEHyN2JzIzPO3aaQJHQdp89IZBA/+azVC4=
golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=
4 changes: 2 additions & 2 deletions handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ func BenchmarkLogAttrs(b *testing.B) {
H slog.Handler
}{
{"tint", tint.NewHandler(io.Discard)},
{"text", slog.NewTextHandler(io.Discard)},
{"json", slog.NewJSONHandler(io.Discard)},
{"text", slog.NewTextHandler(io.Discard, nil)},
{"json", slog.NewJSONHandler(io.Discard, nil)},
{"discard", new(discarder)},
}

Expand Down

0 comments on commit a6123dc

Please sign in to comment.