Skip to content

Releases: steamcore/TinyLogger

1.8.2

11 Jan 20:57
Compare
Choose a tag to compare

Changes

  • Update NuGet dependencies

1.8.1

17 Dec 23:28
Compare
Choose a tag to compare

Changes

  • Fix analyzer issues
  • Update NuGet dependencies

1.8.0

11 Nov 15:36
Compare
Choose a tag to compare

This release updates TinyLogger for .NET 7.

Breaking changes

  • Now using version 7.x of Microsoft.Extensions.* packages
  • Removed obsolete FileRenderer, use the new one instead

Improvements

  • Now targeting net7.0 as well
  • Using source generated Regex for net7.0 target

1.7.0

04 Sep 20:28
Compare
Choose a tag to compare

This release has breaking changes that were necessary to be able to reduce allocations, though they should mostly affect custom renderers.

Breaking changes

  • Custom renderers should now use message.RentMessageTokenList() instead of message.MessageTokens, remember to dispose
  • Dropped net5.0 target framework as it is no longer supported by Microsoft

Improvements

  • Should now support trimming and AOT compilation
  • Huge reduction in allocations per log message, from about 5.1 KiB down to about 1.3 KiB in most cases (compared to 0.5 KiB for the default .NET console renderer)

1.6.1

08 Jun 19:57
Compare
Choose a tag to compare

Changes

  • Update NuGet dependencies
  • Handle a specific null case like the .NET console logger
  • Add support for ILookup<>

1.6.0

13 Nov 21:21
Compare
Choose a tag to compare

Changes

  • Now building using the .NET 6 SDK
  • Added net6.0 as a target framework
  • Update NuGet dependencies to v6.0.0 where applicable

1.5.2

16 Aug 20:14
Compare
Choose a tag to compare

Changes

  • Updated dependencies
  • Added README to NuGet package
  • Made NuGet package deterministic

1.5.1

26 Apr 19:50
Compare
Choose a tag to compare

Changes:

  • Replace FileMode used in 1.5.0 with LogFileMode enum with simpler semantics (just append or truncate)
  • Flush files and streams when idle

1.5.0

25 Apr 22:12
Compare
Choose a tag to compare

Improvements:

  • Add StreamRenderer
  • Add FileMode overloads to file renderers

Other changes:

  • Split FileRenderer in two, FileRenderer and RollingFileRenderer
  • Moved file renderer implementations from TinyLogger.Files to TinyLogger.IO

1.4.1

06 Feb 14:16
Compare
Choose a tag to compare

Improvements:

  • Improve startup characteristics with lazy initialization