Skip to content

Release v0.3.0

Pre-release
Pre-release

Choose a tag to compare

@fembina fembina released this 02 May 22:38
· 247 commits to main since this release

Features

  • Made LoggerRuntime a sealed class containing a Global instance of self (You can create many scoped LoggerRuntime's).
  • Made LoggerFactory a sealed class containing a Global instance of self that references the Global instance of LoggerRuntime (Watch Examples).
  • Add two properties to LogLevels: None and FatalOrAbove.

Enhancements

  • Optimize DateTimeOffset formatting in SimpleLogContextRenderer for faster rendering.
  • Logs with unsupported LogLevel values are ignoring more efficiently.
  • Move LogLevel.IsEnabled to extension method in LogLevelExtensions.
  • Add ValueStringBuilder.Append method for fixed SpanAction, allowing faster span filling without unnecessary string allocations.

Fixes

  • Fix incorrect rendering of DateTimeOffset milliseconds in SimpleLogContextRenderer.

Full Changelog: v0.2.0...v0.3.0