NLog 5.1.3

NLog for .NET Framework and .NET Standard

NLog is a logging platform for .NET with rich log routing and management capabilities.
NLog supports traditional logging, structured logging and the combination of both.

Supported platforms:

- .NET 5, 6 and 7
- .NET Core 1, 2 and 3
- .NET Standard 1.3+ and 2.0+
- .NET Framework 3.5 - 4.8
- Xamarin Android + iOS (.NET Standard)
- Mono 4

For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore

Install-Package NLog -Version 5.1.3
dotnet add package NLog --version 5.1.3
paket add NLog --version 5.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

ChangeLog:

- LoggingRule - FinalMinLevel with Layout support (#5174) (@Aaronmsv)
- MailTarget - Added support for email message headers (#5177) (@snakefoot)
- ScopeContext - Replace rescursive lookup with enumeration (#5175) (@snakefoot)
- MethodCallTarget - Compile Method Invoke as Expression Trees (#5168) (@snakefoot)
- PaddingLayoutRendererWrapper - Avoid using Insert for reusable StringBuilder (#5165) (@snakefoot)
- Json serializer with ISpanFormattable support for decimal + double (#5168) (@snakefoot)

List of major changes in NLog 5.0: https://nlog-project.org/2022/05/16/nlog-5-0-finally-ready.html

Full changelog: https://github.com/NLog/NLog/blob/master/CHANGELOG.md

For all config options and platform support, check https://nlog-project.org/config/

Version History

Version Downloads Last updated
5.1.3 (current version) 0 8/20/2024