Releases: NLog/NLog.Extensions.Logging
Releases · NLog/NLog.Extensions.Logging
Version 6.0.3
- #806 Updated to NLog v6.0.3 (@snakefoot)
Version 6.0.2
- #805 Updated to NLog v6.0.2 (@snakefoot)
Version 6.0.1
- #802 Updated to NLog v6.0.1 (@snakefoot)
- #801 .NET Framework v4.6.2 with UseNLog for IHostApplicationBuilder (@snakefoot)
- #799 Fixed namespace for HostRootDirLayoutRenderer (@snakefoot)
Version 6.0
- Updated to NLog v6.0
- Removed support for NetStandard 1.3 + 1.5
- Updated .NET Framework 4.6.2 with NET8-nuget-dependencies
- Enabled nullable references
- Avoid boxing when extracting LogEvent properties from struct
- Reduce allocation when creating LogEvent with properties by using ReadOnlySpan
- Enabled <IsAotCompatible>
- Added ${host-environment} for NLog.Extensions.Hosting
- Added ${host-rootdir} for NLog.Extensions.Hosting
- Added ${host-appname} for NLog.Extensions.Hosting
- Added RegisterHostSettings for NLog.Extensions.Hosting
List of major changes in NLog 6.0: https://nlog-project.org/2025/04/29/nlog-6-0-major-changes.html
Version 6.0 RC4
- Updated to NLog v6.0-RC4
- Fixed capture of original message template when extracting LogEvent properties without boxing.
Version 6.0 RC3
- Updated to NLog v6.0-RC3
- Avoid boxing when extracting LogEvent properties from struct
- Added ${host-environment} for NLog.Extensions.Hosting
- Added ${host-rootdir} for NLog.Extensions.Hosting
- Added ${host-appname} for NLog.Extensions.Hosting
- Added RegisterHostSettings for NLog.Extensions.Hosting
- Updated NLog.Extensions.Hosting to support .NET Framework 4.6.2 using NET8-nuget-dependencies
Version 6.0 RC2
- Updated to NLog v6.0-RC2
- Removed support for NetStandard 1.3 + 1.5
- Enabled nullable references
- Enabled <IsAotCompatible>
- Avoid boxing when extracting LogEvent properties from struct
- Reduce allocation when creating LogEvent with properties by using ReadOnlySpan
List of major changes in NLog v6.0: https://nlog-project.org/2025/04/29/nlog-6-0-major-changes.html
Version 5.5
Improvements
- #780: Added UseNLog extension method for IHostApplicationBuilder (#780) (@mikezw)
- #782: Added UseNLog extension method with isolated LogFactory support (#782) (@snakefoot)
- #783: Added AddNLog extension method for IServiceCollection (#783) (@snakefoot)
- #785: Updated to NLog v5.5 (#785) (@snakefoot)
Version 5.4
Improvements
- #775: MicrosoftConsoleJsonLayout - TimestampLayout replaced by DateLayoutRenderer (#775) (@snakefoot)
- #778: NLogLoggerFactory - New constructor with isolated NLog LogFactory as input parameter (#778) (@snakefoot)
- #778: Updated to NLog v5.4 (#778) (@snakefoot)
Version 5.3.15
Improvements
- #773: UseNLog allow fallback to only EnvironmentName for NLog config (#773) (@snakefoot)
- #771: NLogMessageParameterList - Optimize the index operator (#771) (@snakefoot)
- #770: NLogMessageParameterList - Simplify the index operator (#770) (@snakefoot)
- #768: Recognize ITuple for better AOT support (#768) (@snakefoot)