1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-14 10:13:10 +02:00
opentelemetry-go/exporters/zipkin
Tyler Yahn 1b02c9122d
Format log message before logging with logr (#4143)
* Format log message before logging with logr

Fixes #4141

The logr calling convention does not support fmt semantics for message
formatting. Format the message before it is sent to logr for logging.

* Add change to changelog

* Fix lint

Don't shadow the log pkg.

* Replace buflogr with funcr

* Run make

* Update exporters/zipkin/zipkin_test.go

Co-authored-by: Robert Pająk <pellared@hotmail.com>

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2023-06-26 09:54:35 -07:00
..
doc.go Prerelease v1.0.0 (#2250) 2021-09-20 13:02:46 -07:00
env_test.go support zipkin exporter endpoint env (#2490) 2022-01-06 08:28:42 -08:00
env.go Handle empty env vars as it they were not set (#3764) 2023-02-28 12:43:48 -08:00
go.mod dependabot updates Tue Jun 20 09:20:10 UTC 2023 (#4240) 2023-06-20 11:38:28 +02:00
go.sum dependabot updates Tue Jun 20 09:20:10 UTC 2023 (#4240) 2023-06-20 11:38:28 +02:00
model_test.go Use semconv creation functions (#3683) 2023-02-07 13:42:47 -08:00
model.go [chore] Pin otel-specification hyperlinks (#4033) 2023-05-09 08:45:39 -07:00
zipkin_test.go Format log message before logging with logr (#4143) 2023-06-26 09:54:35 -07:00
zipkin.go Format log message before logging with logr (#4143) 2023-06-26 09:54:35 -07:00