NLog 6.0.0-rc2

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
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
7
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
8
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
9
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
18
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
25
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
29
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
245
NLog.Config
Empty NLog.config file.
7
NLog.Config
NLog.config file to get started with configuring NLog. This package is not mandatory to get started with NLog: the configuration file can created manually (read specs here: https://github.com/NLog/NLog/wiki/Configuration-file) or the configuration can be created programmatically. (read more here: https://github.com/NLog/NLog/wiki/Configuration-API) Note: Unfortunately this package won't work well when using <PackageReference> Advised to: - download manually: https://raw.githubusercontent.com/NLog/NLog/dev/src/NuGet/NLog.Config/content/NLog.config - set "Copy To Output Directory" to "Copy if newer"
7
NLog.Database
NLog.Database includes DatabaseTarget for writing to any database with DbProvider support
253
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
7
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
18
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
249
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.Web.AspNetCore
7

NLog v6.0 RC2 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. 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.0-rc2 1 06/07/2025
6.0.0-rc1 0 05/25/2025
6.0.0-preview1 1 05/17/2025
5.5.0 0 05/29/2025
5.4.0 5 02/26/2025
5.3.4 2 03/07/2025
5.3.3 1 03/07/2025
5.3.2 2 11/01/2024
5.3.1 2 11/01/2024
5.2.8 247 03/07/2024
5.2.7 4 03/02/2024
5.2.6 5 02/08/2024
5.2.5 7 03/13/2024
5.2.4 5 03/02/2024
5.2.3 5 03/02/2024
5.2.2 4 03/12/2024
5.2.1 6 03/14/2024
5.2.0 5 03/01/2024
5.1.5 4 03/15/2024
5.1.4 5 03/02/2024
5.1.3 5 03/12/2024
5.1.2 4 03/13/2024
5.1.1 6 03/01/2024
5.1.0 5 03/01/2024
5.0.5 4 03/17/2024
5.0.4 5 03/02/2024
5.0.3 5 03/02/2024
5.0.2 6 03/02/2024
5.0.1 7 03/01/2024
5.0.0 5 03/01/2024
4.7.15 5 03/19/2024
4.7.14 5 03/20/2024
4.7.13 4 03/18/2024
4.7.12 4 03/18/2024
4.7.11 5 03/19/2024
4.7.10 5 03/19/2024
4.7.9 9 08/18/2023
4.7.8 4 03/18/2024
4.7.7 6 03/02/2024
4.7.6 5 03/18/2024
4.7.5 7 03/02/2024
4.7.4 4 03/02/2024
4.7.3 4 03/02/2024
4.7.2 5 03/03/2024
4.7.1 5 03/02/2024
4.7.0 5 03/16/2024
4.6.8 6 03/02/2024
4.6.7 6 03/16/2024
4.6.6 5 03/02/2024
4.6.5 5 03/02/2024
4.6.4 6 03/02/2024
4.6.3 5 03/16/2024
4.6.2 5 01/07/2024
4.6.1 7 01/13/2024
4.6.0 6 03/01/2024
4.5.11 5 03/02/2024
4.5.10 3 03/14/2024
4.5.9 5 03/01/2024
4.5.8 6 03/02/2024
4.5.7 4 03/15/2024
4.5.6 5 03/13/2024
4.5.5 6 03/02/2024
4.5.4 5 03/02/2024
4.5.3 4 03/13/2024
4.5.2 4 03/12/2024
4.5.1 5 03/12/2024
4.5.0 5 03/02/2024
4.4.13 4 03/19/2024
4.4.12 4 03/18/2024
4.4.11 2 03/07/2025
4.4.10 5 03/18/2024
4.4.9 4 03/18/2024
4.4.8 5 03/02/2024
4.4.7 5 03/02/2024
4.4.6 4 03/16/2024
4.4.5 6 03/02/2024
4.4.4 4 03/13/2024
4.4.3 5 03/15/2024
4.4.2 4 03/13/2024
4.4.1 5 03/13/2024
4.4.0 5 03/18/2024
4.3.11 6 03/15/2024
4.3.10 4 03/14/2024
4.3.9 5 03/02/2024
4.3.8 4 03/14/2024
4.3.7 6 03/06/2024
4.3.6 4 03/13/2024
4.3.5 6 03/01/2024
4.3.4 4 03/13/2024
4.3.3 4 03/13/2024
4.3.2 5 01/08/2024
4.3.1 5 02/08/2024
4.3.0 6 03/01/2024
4.2.3 5 03/02/2024
4.2.2 5 01/13/2024
4.2.1 5 03/02/2024
4.2.0 5 03/02/2024
4.1.2 4 03/17/2024
4.1.1 5 03/16/2024
4.1.0 5 03/01/2024
4.0.1 7 03/03/2024
4.0.0 6 03/02/2024
3.2.1 4 03/12/2024
3.2.0 5 03/02/2024
3.1.0 5 03/01/2024
3.0.0 6 03/01/2024
2.1.0 5 03/01/2024
2.0.1.2 5 02/08/2024
2.0.0.2000 4 03/16/2024
1.0.0.505 6 03/21/2024