Releases: steamcore/TinyLogger
Releases · steamcore/TinyLogger
1.8.2
Changes
- Update NuGet dependencies
1.8.1
Changes
- Fix analyzer issues
- Update NuGet dependencies
1.8.0
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
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 ofmessage.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
Changes
- Update NuGet dependencies
- Handle a specific null case like the .NET console logger
- Add support for
ILookup<>
1.6.0
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
Changes
- Updated dependencies
- Added README to NuGet package
- Made NuGet package deterministic
1.5.1
Changes:
- Replace
FileMode
used in 1.5.0 withLogFileMode
enum with simpler semantics (just append or truncate) - Flush files and streams when idle
1.5.0
Improvements:
- Add
StreamRenderer
- Add
FileMode
overloads to file renderers
Other changes:
- Split
FileRenderer
in two,FileRenderer
andRollingFileRenderer
- Moved file renderer implementations from
TinyLogger.Files
toTinyLogger.IO
1.4.1
Improvements:
- Improve startup characteristics with lazy initialization