From 099241e74010de92222194217ad73e691f669953 Mon Sep 17 00:00:00 2001 From: sync-common-bot Date: Wed, 10 Apr 2024 03:28:04 +1200 Subject: [PATCH] fix comments and add to versions.yaml --- bridges/otellogr/example_test.go | 3 +-- bridges/otellogr/version.go | 2 +- versions.yaml | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) 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