Skip to content

Commit

Permalink
Actually check conformance to log.Logger
Browse files Browse the repository at this point in the history
  • Loading branch information
tdeebswihart committed Feb 12, 2024
1 parent 95fba46 commit 47ff026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion temporalcli/devserver/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type slogLogger struct {
level slog.Level
}

var _ log.Logger
var _ log.Logger = slogLogger{}

func (s slogLogger) Debug(msg string, tags ...tag.Tag) { s.Log(slog.LevelDebug, msg, tags) }
func (s slogLogger) Info(msg string, tags ...tag.Tag) { s.Log(slog.LevelInfo, msg, tags) }
Expand Down

0 comments on commit 47ff026

Please sign in to comment.