Closed vroldanbet closed 2 years ago
when a user misconfigures opentelemetry via cobrautil flags, the otel-go library will surface errorrs using stdout.
OTel offers API to set a custom logger that complies with the go-logr facade interface https://pkg.go.dev/go.opentelemetry.io/otel#SetLogger
go-logr
it would be desirable to make it possible to set zerolog as the logger for OTel
I think this package in general should just adopt go-logr. I tried instead to avoid logging altogether, but zerolog slipped in.
Agreed, will close and open an issue to adopt logr
when a user misconfigures opentelemetry via cobrautil flags, the otel-go library will surface errorrs using stdout.
OTel offers API to set a custom logger that complies with the
go-logr
facade interface https://pkg.go.dev/go.opentelemetry.io/otel#SetLoggerit would be desirable to make it possible to set zerolog as the logger for OTel