-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Warn
internal logging function
#3866
Comments
I can work on this one but have a question, Is there any agreed verbosity level for the As far as I see we currently have One approach could be changing the verbosity level of info close to debug, but I am not sure about implications of it. |
Can we map to a pseudo inverse of what the OTel logging spec is: https://github.com/open-telemetry/opentelemetry-specification/blob/c10191c1bf2a6961145f3c5c1b16b89d54af02c0/specification/logs/data-model.md#field-severitynumber For example:
|
The reason that the original values were chosen was to somewhat match expectations of current uses of logr. Most uses of logr on github, only even use level 0. A few will use level 1 with a |
Originally from #3854
We should consider adding
Warn
logging function togo.opentelemetry.io/otel/internal/global
.The text was updated successfully, but these errors were encountered: