Releases: serilog-contrib/serilog-formatting-log4net
Releases · serilog-contrib/serilog-formatting-log4net
Version 1.2.0
- Add support for .NET 8 and mark
Serilog.Formatting.Log4Net
as trimmable for AOT compatibility.
Version 1.1.0
- Add support for caller information (class, method, file, line) through the Serilog.Enrichers.WithCaller package.
Version 1.0.2
- Add a new
Log4NetTextFormatter.Log4JFormatter
static property which is configured for the log4j XML layout. This static property is also useful when using the Serilog.Settings.Configuration package where it can be used with the following accessor:
Serilog.Formatting.Log4Net.Log4NetTextFormatter::Log4JFormatter, Serilog.Formatting.Log4Net
Version 1.0.1
- Add support for .NET 6. It will be beneficial for string interpolation which is used extensively through the project. See Are there benefits in producing a .NET 6.0 version of a .NET Standard 2.0 library? on Stack Overflow.
Version 1.0.0
- First final version (i.e. non pre-release) which is identical to 1.0.0-rc.4
Version 1.0.0-rc.4
- Add README and release notes (link to https://github.com/serilog-contrib/serilog-formatting-log4net/blob/main/CHANGELOG.md) in the NuGet package
Version 1.0.0-rc.3
- Replace
UseLog4NetXmlNamespace(null)
withUseNoXmlNamespace()
- Reduce the public API surface
- Removed all property getters on
Log4NetTextFormatterOptionsBuilder
- Converted the
LineEndingExtensions
class from public to internal
- Removed all property getters on
- Improve log4j compatibility mode: don't write the
xmlns:log4j
attribute to be exactly compatible with log4j
Before (1.0.0-rc.2):
<log4j:event timestamp="1041689366535" level="INFO" xmlns:log4j="http://jakarta.apache.org/log4j/">
<log4j:message><![CDATA[Hello from Serilog]]></log4j:message>
</log4j:event>
After (1.0.0-rc.3)
<log4j:event timestamp="1041689366535" level="INFO">
<log4j:message><![CDATA[Hello from Serilog]]></log4j:message>
</log4j:event>
Version 1.0.0-rc.2
- Handle non Serilog provided
LogEventPropertyValue
subclasses - The
Log4NetTextFormatterOptionsBuilder
constructor is now internal - Include the index in the property name when formatting a SequenceValue
Before (1.0.0-rc.1):
<log4net:data name="Args" value="--first-argument" />
<log4net:data name="Args" value="--second-argument" />
After (1.0.0-rc.2)
<log4net:data name="Args[0]" value="--first-argument" />
<log4net:data name="Args[1]" value="--second-argument" />
- Documentation has been improved
Version 1.0.0-rc.1
Release candidate 1
This release contains the same code as 1.0.0-alpha.0.110.
Still trying to figure out how to make everything fit together with MinVer, annotated tags and GitHub actions.
Version 1.0.0-alpha.0.110
Implement log4j compatibility mode