2023-05-09 19:19:48 +02:00
|
|
|
// Copyright The OpenTelemetry Authors
|
2024-04-11 11:46:18 +02:00
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2023-05-09 19:19:48 +02:00
|
|
|
|
|
|
|
package otel // import "go.opentelemetry.io/otel"
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/go-logr/logr"
|
|
|
|
|
|
|
|
"go.opentelemetry.io/otel/internal/global"
|
|
|
|
)
|
|
|
|
|
|
|
|
// SetLogger configures the logger used internally to opentelemetry.
|
|
|
|
func SetLogger(logger logr.Logger) {
|
|
|
|
global.SetLogger(logger)
|
|
|
|
}
|