-
Notifications
You must be signed in to change notification settings - Fork 773
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
[sdk-logs] Expose logging SDK implementation as public #4568
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #4568 +/- ##
==========================================
- Coverage 85.19% 85.13% -0.07%
==========================================
Files 320 320
Lines 12678 12679 +1
==========================================
- Hits 10801 10794 -7
- Misses 1877 1885 +8
|
src/OpenTelemetry/Logs/LogRecord.cs
Outdated
@@ -157,7 +160,7 @@ public ActivityTraceFlags TraceFlags | |||
/// <summary> | |||
/// Gets or sets the log <see cref="Microsoft.Extensions.Logging.LogLevel"/>. | |||
/// </summary> | |||
// todo: [Obsolete("Use Severity instead LogLevel will be removed in a future version.")] | |||
[Obsolete("Use Severity instead LogLevel will be removed in a future version.")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Obsolete("Use Severity instead LogLevel will be removed in a future version.")] | |
[Obsolete("Use Severity instead LogLevel will be removed in a future release with a major version.")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a bit more discussion is needed around our strategy on this and then we can land a policy doc + update all the warnings we have sprinkled around?
/cc @alanwest
* Obsoleted `LogRecord.LogLevel` in favor of the `LogRecord.Severity` property | ||
which matches the [OpenTelemetry Specification > Logs DataModel > Severity | ||
definition](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md#field-severitynumber). | ||
([#4433](https://github.com/open-telemetry/opentelemetry-dotnet/pull/4433)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR number needs to be corrected.
Relates to #4433
Changes
OpenTelemetry
and removes the addedInternalsVisibleTo
sMerge requirement checklist
CHANGELOG.md
files updated for non-trivial changes