Export tracer.LogLevel #4822
Thiht
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Package Name
github.com/DataDog/dd-trace-go/v2/ddtrace/tracer
Package Version(s)
v2.8.2
Describe the feature you'd like
Hi,
I want to use
tracer.AdaptLoggerto bind thetracerlogger withlog/slog. I wrote a log level binding like this:The
tracerpackage only aliases the typetype LogLevel = log.Levelbut not the values themselves so they're not usable directly. Could you alias the values to make them exposed from thetracerpackage?Is your feature request related to a problem?
No response
Describe alternatives you've considered
Hardcoded values
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions