Skip to content

Commit

Permalink
fix comments and add to versions.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpionknifes committed Apr 9, 2024
1 parent 2ea0523 commit 099241e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions bridges/otellogr/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package otellogr_test

import (
"github.com/go-logr/logr"

"go.opentelemetry.io/otel/log"
"go.opentelemetry.io/otel/log/noop"

Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion bridges/otellogr/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 099241e

Please sign in to comment.