Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
roblaszczak committed Sep 24, 2023
1 parent 970bc4b commit 2760b2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion slog.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package watermill

import (
"context"
"log/slog"
)

Expand Down Expand Up @@ -47,7 +48,7 @@ func (s *SlogLoggerAdapter) Trace(msg string, fields LogFields) {
// values, but ignoring contextual deadline.
// See the [slog] package documentation
// for more details.
nil,
context.Background(),
LevelTrace,
msg,
slogAttrsFromFields(fields)...,
Expand Down

0 comments on commit 2760b2d

Please sign in to comment.