Skip to content

Version 1.0.0-rc.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 24 Oct 23:53
  • Replace UseLog4NetXmlNamespace(null) with UseNoXmlNamespace()
  • Reduce the public API surface
    • Removed all property getters on Log4NetTextFormatterOptionsBuilder
    • Converted the LineEndingExtensions class from public to internal
  • 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>