diff --git a/bridges/otellogr/example_test.go b/bridges/otellogr/example_test.go index d7d9309e477..8812c94dedd 100644 --- a/bridges/otellogr/example_test.go +++ b/bridges/otellogr/example_test.go @@ -5,7 +5,6 @@ package otellogr_test import ( "github.com/go-logr/logr" - "go.opentelemetry.io/otel/log" "go.opentelemetry.io/otel/log/noop" @@ -16,7 +15,7 @@ func Example() { // Use a working LoggerProvider implementation instead e.g. using go.opentelemetry.io/otel/sdk/log. provider := noop.NewLoggerProvider() - // Create an *slog.Logger with *otelslog.Handler and use it in your application. + // Create an logr.Logger with *otellogr.LogSink and use it in your application. logr.New(otellogr.NewLogSink( otellogr.WithLoggerProvider(provider), // Optionally, set the log level severity mapping. diff --git a/bridges/otellogr/version.go b/bridges/otellogr/version.go index c0931956f91..f37bce04c32 100644 --- a/bridges/otellogr/version.go +++ b/bridges/otellogr/version.go @@ -3,5 +3,5 @@ package otellogr // import "go.opentelemetry.io/contrib/bridges/otellogr" -// version is the current release version of otelslog in use. +// version is the current release version of otellogr in use. const version = "0.0.1-alpha" diff --git a/versions.yaml b/versions.yaml index 0513ed39d41..520fff43c4b 100644 --- a/versions.yaml +++ b/versions.yaml @@ -76,6 +76,7 @@ module-sets: experimental-bridge: version: v0.0.1 modules: + - go.opentelemetry.io/contrib/bridges/otellogr - go.opentelemetry.io/contrib/bridges/otelslog excluded-modules: - go.opentelemetry.io/contrib/instrgen