Skip to content

Commit 12fcdf0

Browse files
committed
Configure opentelemetry-go's logger
This adds a little adapter from zap to opentelemetry-go's expected logger interface, so we can get opentelemetry logs.
1 parent 7518e29 commit 12fcdf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ go 1.22
44

55
require (
66
github.com/getsentry/sentry-go v0.27.0
7+
github.com/go-logr/logr v1.4.1
78
github.com/go-redis/redismock/v9 v9.2.0
89
github.com/golangci/golangci-lint v1.57.2
910
github.com/hashicorp/go-retryablehttp v0.7.5
@@ -79,7 +80,6 @@ require (
7980
github.com/fzipp/gocyclo v0.6.0 // indirect
8081
github.com/ghostiam/protogetter v0.3.5 // indirect
8182
github.com/go-critic/go-critic v0.11.2 // indirect
82-
github.com/go-logr/logr v1.4.1 // indirect
8383
github.com/go-logr/stdr v1.2.2 // indirect
8484
github.com/go-toolsmith/astcast v1.1.0 // indirect
8585
github.com/go-toolsmith/astcopy v1.1.0 // indirect

0 commit comments

Comments
 (0)