Repository navigation
Update dependency Serilog to 3.1.1 - #5
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.1→3.1.1Release Notes
serilog/serilog (Serilog)
v3.1.1ReusableStringWriterwith large renderings (@nblumhardt)This is a bugfix for release 3.1.0.
v3.1.0CHANGES.md(@sungam3r)README.mdupdates (@nblumhardt)GetTypeInfo()calls (@SimonCropp)Logger.Write()(@epeshk)Activity.Current.TraceIdandSpanIdautomatically inLogger.Write()(@nblumhardt)README.mdupdates (@bartelink)Built-in trace and span id support
This release adds two new first-class properties to
LogEvent:TraceIdandSpanId. These are set automatically inLogger.Write()to the corresponding property values fromSystem.Diagnostics.Activity.Current.The major benefit of this change is that sinks, once updated, can reliably propagate trace and span ids through to back-ends that support them (in much the same way that first-class timestamps, messages, levels, and exceptions are used today).
The sinks maintained under
serilog/serilog, along with formatting helpers such as Serilog.Formatting.Compact and Serilog.Expressions, are already compatible with this change or have pending releases that add compatibility.Dropped .NET Core 2.1 and 3.0 support
On .NET Core 2.1 and 3.0, projects targeting Serilog 3.1+ will fail to build, with:
Affected consumers should continue to use Serilog 3.0 or earlier. See #1983 for a discussion of this issue.
Technical breaking changes
Trace and span id placeholders
Trace and span id collection includes support for
{TraceId}and{SpanId}placeholders in output templates (commonly used when formatting text log files). Where previously these names resolved to user-defined properties, they now resolve to the built-inLogEvent.TraceIdandLogEvent.SpanIdvalues, respectively.Impact is expected to be low/zero, because the trace and span id values in any user-added properties are almost certainly identical to the built-in ones.
nintandnuint(IntPtrandUIntPtr) handlingThese integer types were previously logged as structures. They're now correctly logged as scalars.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.