NLog 6.0.0-rc3

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, 7, 8 and 9 - .NET Standard 2.0 and 2.1 - .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

Showing the top 20 packages that depend on NLog.

Packages
Castle.Core
Core of the castle project
LynxChess.Lynx
Lynx chess engine

NLog v6.0 RC3 with the following major changes: - Support AOT builds without build warnings. - New FileTarget without ConcurrentWrites support, but still support KeepFileOpen true / false. - Moved old FileTarget into the new nuget-package NLog.Targets.ConcurrentFile. - Created new nuget-package NLog.Targets.AtomicFile that supports ConcurrentWrites for NET8 on both Windows / Linux. - Created new nuget-package NLog.Targets.GZipFile that uses GZipStream for writing directly to compressed files. - Moved MailTarget into the new nuget-package NLog.Targets.Mail. - Moved NetworkTarget into the new nuget-package NLog.Targets.Network. - New GelfTarget introduced for the new nuget-package NLog.Targets.Network. - New SyslogTarget introduced for the new nuget-package NLog.Targets.Network. - Moved TraceTarget and NLogTraceListener into the new nuget-package NLog.Targets.Trace. - Moved WebServiceTarget into the new nuget-package NLog.Targets.WebService - Removed dependency on System.Text.RegularExpressions and introduced new nuget-package NLog.RegEx. - Removed dependency on System.Xml.XmlReader by implementing own internal basic XML-Parser. - Updated NLog API with Nullable-support and introduced Layout.Empty - Marked [RequiredParameter] as obsolete, and replaced with explicit option validation during initialization. - Marked LogEventInfo.SequenceID and ${sequenceid} as obsolete, and instead use ${counter:sequence=global}. - Added support for params ReadOnlySpan when using C# 13 - Prioritize generic Logger-methods by marking legacy methods with [OverloadResolutionPriority(-1)] when using C# 13 - Skip LogEventInfo.Parameters-array-allocation when unable to defer message-template formatting. - Renamed ChainsawTarget to Log4JXmlTarget to match Log4JXmlEventLayout - Updated NLog.Schema to include intellisense for multiple NLog-assemblies. - Fixed NLog XmlParser to support XML comments within XML processing instructions. - NLog.Targets.Network now also supports NET35. - Updated structs to be readonly to allow compiler optimizations. - Updated interface ILoggingConfigurationElement to support nullable Values. - Updated all projects to include <IsAotCompatible> - Optimized ConsoleTarget to not use Console.WriteLine, and introduced option ForceWriteLine - Added new LogEventInfo constructor that supports ReadOnlySpan - Updated NLog.Schema nuget-package to include targets-file to copy NLog.xsd to project-folder. - Improved configuration-file loading to advise about NLog nuget-packages for missing types. - Log4JXmlEventLayout - Fixed IncludeEmptyValue for Parameters. NLog v6.0 release notes: https://nlog-project.org/2025/04/29/nlog-6-0-major-changes.html Full changelog: https://github.com/NLog/NLog/releases For all config options and platform support, check https://nlog-project.org/config/

.NET Framework 3.5

  • No dependencies.

.NET Framework 4.5

  • No dependencies.

.NET Framework 4.6

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

.NET Standard 2.1

  • No dependencies.

Version Last updated
6.0.1 07/01/2025
6.0.0 06/28/2025
6.0.0-rc4 06/18/2025
6.0.0-rc3 06/10/2025
6.0.0-rc2 06/04/2025
6.0.0-rc1 05/31/2025
6.0.0-preview1 05/06/2025
5.5.0 06/02/2025
5.4.0 03/12/2025
5.3.4 04/08/2025
5.3.3 05/04/2025
5.3.2 03/22/2025
5.3.1 03/15/2025
5.2.8 03/22/2025
5.2.7 03/19/2025
5.2.6 03/14/2025
5.2.5 03/21/2025
5.2.4 04/07/2025
5.2.3 03/16/2025
5.2.2 03/22/2025
5.2.1 07/02/2025
5.2.0 03/21/2025
5.1.5 03/21/2025
5.1.4 03/17/2025
5.1.3 03/22/2025
5.1.2 05/05/2025
5.1.1 06/13/2025
5.1.0 03/15/2025
5.0.5 03/16/2025
5.0.4 03/21/2025
5.0.3 03/22/2025
5.0.2 03/22/2025
5.0.1 03/17/2025
5.0.0 07/02/2025
4.7.15 06/29/2025
4.7.14 03/20/2025
4.7.13 03/17/2025
4.7.12 05/21/2025
4.7.11 03/17/2025
4.7.10 03/17/2025
4.7.9 07/02/2025
4.7.8 04/01/2025
4.7.7 07/02/2025
4.7.6 03/22/2025
4.7.5 03/17/2025
4.7.4 03/17/2025
4.7.3 03/22/2025
4.7.2 03/27/2025
4.7.1 03/17/2025
4.7.0 03/22/2025
4.6.8 04/07/2025
4.6.7 03/22/2025
4.6.6 07/02/2025
4.6.5 03/22/2025
4.6.4 03/22/2025
4.6.3 03/19/2025
4.6.2 03/17/2025
4.6.1 03/24/2025
4.6.0 03/17/2025
4.5.11 03/22/2025
4.5.10 07/02/2025
4.5.9 03/21/2025
4.5.8 03/21/2025
4.5.7 03/12/2025
4.5.6 06/13/2025
4.5.5 04/16/2025
4.5.4 07/02/2025
4.5.3 05/05/2025
4.5.2 03/17/2025
4.5.1 07/02/2025
4.5.0 03/22/2025
4.4.13 03/31/2025
4.4.12 06/13/2025
4.4.11 06/08/2025
4.4.10 04/26/2025
4.4.9 03/18/2025
4.4.8 06/13/2025
4.4.7 06/01/2025
4.4.6 07/02/2025
4.4.5 03/22/2025
4.4.4 03/20/2025
4.4.3 07/02/2025
4.4.2 03/22/2025
4.4.1 03/22/2025
4.4.0 07/02/2025
4.3.11 03/22/2025
4.3.10 03/22/2025
4.3.9 03/17/2025
4.3.8 03/13/2025
4.3.7 04/15/2025
4.3.6 03/22/2025
4.3.5 03/17/2025
4.3.4 03/17/2025
4.3.3 03/21/2025
4.3.2 04/02/2025
4.3.1 04/27/2025
4.3.0 03/27/2025
4.2.3 07/02/2025
4.2.2 03/17/2025
4.2.1 03/13/2025
4.2.0 03/20/2025
4.1.2 07/02/2025
4.1.1 05/28/2025
4.1.0 03/17/2025
4.0.1 03/17/2025
4.0.0 03/17/2025
3.2.1 03/22/2025
3.2.0 03/21/2025
3.1.0 03/17/2025
3.0.0 04/23/2025
2.1.0 03/17/2025
2.0.1.2 03/17/2025
2.0.0.2000 03/20/2025
1.0.0.505 03/17/2025