You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
+
## [Unreleased][Unreleased]
8
+
9
+
- Add support for .NET 8.
10
+
7
11
## [1.1.0][1.1.0] - 2023-05-02
8
12
9
13
- Add support for caller information (class, method, file, line) through the [Serilog.Enrichers.WithCaller](https://www.nuget.org/packages/Serilog.Enrichers.WithCaller/) package.
@@ -84,6 +88,7 @@ Still trying to figure out how to make everything fit together with [MinVer](htt
@@ -113,7 +114,9 @@ public void Format(LogEvent logEvent, TextWriter output)
113
114
// The resulting XML is impossible to write with a standard compliant XML writer such as XmlWriter.
114
115
// That's why we write the event in a StringWriter then massage the output to remove the xmlns:log4j attribute to match log4j output.
115
116
// The XML fragment becomes valid when surrounded by an external entity, see https://github.com/apache/log4j/blob/v1_2_17/src/main/java/org/apache/log4j/xml/XMLLayout.java#L31-L49
varhasMachineNameProperty=logEvent.Properties.TryGetValue(MachineNamePropertyName,outvarmachineNameProperty)&&machineNamePropertyisScalarValue{Value: not null};
// See https://github.com/serilog/serilog-enrichers-environment/blob/3fc7cf78c5f34816633000ae74d846033498e44b/src/Serilog.Enrichers.Environment/Enrichers/EnvironmentUserNameEnricher.cs#L53
<!-- For reference: the file `.config/dotnet-tools.json` was created by running `dotnet new tool-manifest && dotnet tool install dotnet-validate` -->
67
66
<ExecCommand="dotnet tool restore" />
68
-
<ExecCommand="dotnet validate package local $([MSBuild]::EnsureTrailingSlash($(PackageOutputPath)))$(PackageId).$(PackageVersion).nupkg" />
67
+
<ExecCommand="dotnet validate package local $([MSBuild]::EnsureTrailingSlash($(PackageOutputPath)))$(PackageId).$(PackageVersion).nupkg"EnvironmentVariables="DOTNET_ROLL_FORWARD=LatestMajor"/>
0 commit comments