NLog 6.0.0-rc1

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 Downloads
Castle.Core
Core of the castle project
88

NLog v6.0 RC1 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. 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 Downloads Last updated
6.0.7 3 12/09/2025
6.0.6 18 11/11/2025
6.0.5 35 10/10/2025
6.0.4 41 09/11/2025
6.0.3 40 08/13/2025
6.0.2 41 07/21/2025
6.0.1 44 06/30/2025
6.0.0 48 06/23/2025
6.0.0-rc4 46 06/19/2025
6.0.0-rc3 57 06/09/2025
6.0.0-rc2 61 06/03/2025
6.0.0-rc1 86 05/27/2025
6.0.0-preview1 64 05/01/2025
5.5.1 54 07/18/2025
5.5.0 61 05/31/2025
5.4.0 66 03/31/2025
5.3.4 69 09/20/2024
5.3.3 70 09/03/2024
5.3.2 94 07/22/2024
5.3.1 81 07/22/2024
5.2.8 77 07/22/2024
5.2.7 85 07/22/2024
5.2.6 94 07/22/2024
5.2.5 78 07/22/2024
5.2.4 82 07/22/2024
5.2.3 79 07/22/2024
5.2.2 77 07/22/2024
5.2.1 72 07/22/2024
5.2.0 82 07/22/2024
5.1.5 83 07/22/2024
5.1.4 85 07/22/2024
5.1.3 88 07/22/2024
5.1.2 80 07/22/2024
5.1.1 77 07/22/2024
5.1.0 73 07/22/2024
5.0.5 82 07/22/2024
5.0.4 79 07/22/2024
5.0.3 84 07/22/2024
5.0.2 70 07/22/2024
5.0.1 77 07/22/2024
5.0.0 85 07/22/2024
4.7.15 85 07/22/2024
4.7.14 71 07/22/2024
4.7.13 77 07/22/2024
4.7.12 85 07/22/2024
4.7.11 84 07/22/2024
4.7.10 74 07/22/2024
4.7.9 71 07/22/2024
4.7.8 80 07/22/2024
4.7.7 75 07/22/2024
4.7.6 83 07/22/2024
4.7.5 85 07/22/2024
4.7.4 91 07/22/2024
4.7.3 68 07/22/2024
4.7.2 87 07/22/2024
4.7.1 86 07/22/2024
4.7.0 78 07/22/2024
4.6.8 81 07/22/2024
4.6.7 67 07/22/2024
4.6.6 70 07/22/2024
4.6.5 87 07/22/2024
4.6.4 95 07/22/2024
4.6.3 73 07/22/2024
4.6.2 82 07/22/2024
4.6.1 76 07/22/2024
4.6.0 77 07/22/2024
4.5.11 84 07/22/2024
4.5.10 89 07/22/2024
4.5.9 75 07/22/2024
4.5.8 92 07/22/2024
4.5.7 68 07/22/2024
4.5.6 86 07/22/2024
4.5.5 78 07/22/2024
4.5.4 73 07/22/2024
4.5.3 82 07/22/2024
4.5.2 82 07/22/2024
4.5.1 82 07/22/2024
4.5.0 71 07/22/2024
4.4.13 66 07/22/2024
4.4.12 85 07/22/2024
4.4.11 86 07/22/2024
4.4.10 75 07/22/2024
4.4.9 83 07/22/2024
4.4.8 84 07/22/2024
4.4.7 76 07/22/2024
4.4.6 79 07/22/2024
4.4.5 81 07/22/2024
4.4.4 70 07/22/2024
4.4.3 79 07/22/2024
4.4.2 76 07/22/2024
4.4.1 83 07/22/2024
4.4.0 87 07/22/2024
4.3.11 74 07/22/2024
4.3.10 87 07/22/2024
4.3.9 92 07/22/2024
4.3.8 81 07/22/2024
4.3.7 76 07/22/2024
4.3.6 87 07/22/2024
4.3.5 68 07/22/2024
4.3.4 71 07/22/2024
4.3.3 91 07/22/2024
4.3.2 80 07/22/2024
4.3.1 78 07/22/2024
4.3.0 94 07/22/2024
4.2.3 70 07/22/2024
4.2.2 87 07/22/2024
4.2.1 75 07/22/2024
4.2.0 82 07/22/2024
4.1.2 78 07/22/2024
4.1.1 88 07/22/2024
4.1.0 78 07/22/2024
4.0.1 77 07/22/2024
4.0.0 75 07/22/2024
3.2.1 88 07/22/2024
3.2.0 92 07/22/2024
3.1.0 79 07/22/2024
3.0.0 70 07/22/2024
2.1.0 85 07/22/2024
2.0.1.2 76 07/22/2024
2.0.0.2000 82 07/22/2024
1.0.0.505 78 07/22/2024