NLog 6.0.0-preview1

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 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

Showing the top 20 packages that depend on NLog.

Packages Downloads
Common.Logging.NLog
Common.Logging library bindings for NLog 1.0 logging framework.
26
Exceptionless.NLog
NLog target that sends log entries to Exceptionless. Exceptionless is a cloud based error reporting service that sends your exceptions to https://exceptionless.com and provides aggregated views and analytics.
41
NLog.Database
NLog.Database includes DatabaseTarget for writing to any database with DbProvider support
24
NLog.Database
NLog.Database includes DatabaseTarget for writing to any database with DbProvider support
65
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
23
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
28
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
61
NLog.Extensions.Logging
NLog provider for Microsoft.Extensions.Logging for usage in .NET Standard libraries and console applicaties. For ASP.NET Core, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.Web.AspNetCore
26
NLog.Extensions.Logging
NLog provider for Microsoft.Extensions.Logging for usage in .NET Standard libraries and console applicaties. For ASP.NET Core, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.Web.AspNetCore
28
NLog.Targets.ElasticSearch
An NLog target that utilises the elasticsearch low level client.
24
NLog.Targets.ElasticSearch
NLog target for ElasticSearch
23
NLog.Targets.ElasticSearch
NLog target for ElasticSearch
24
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
26
RocketMQ.Client
.NET Client for Apache RocketMQ
23
RocketMQ.Client
.NET Client for Apache RocketMQ
25
RocketMQ.Client
.NET Client for Apache RocketMQ
49

NLog v6.0 Preview1 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. 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-preview1 2 05/02/2025
5.4.0 8 03/14/2025
5.3.4 21 11/11/2024
5.3.3 18 11/14/2024
5.3.2 27 05/12/2024
5.3.1 18 05/11/2024
5.2.8 26 02/04/2024
5.2.7 15 04/27/2024
5.2.6 15 04/27/2024
5.2.5 15 04/27/2024
5.2.4 17 04/27/2024
5.2.3 16 05/24/2024
5.2.2 15 04/28/2024
5.2.1 11 12/05/2024
5.1.5 16 05/12/2024
5.1.4 16 05/09/2024
5.1.0 15 05/12/2024
5.0.5 11 05/08/2024
5.0.4 20 07/04/2023
5.0.3 20 07/04/2023
4.7.15 24 07/04/2023
4.7.12 23 07/04/2023
4.7.3 16 05/02/2024
4.7.0 17 04/30/2024
4.6.5 18 05/01/2024
4.6.3 17 05/02/2024
4.6.1 23 07/16/2023
4.5.10 16 05/10/2024
4.5.9 18 07/04/2023
4.5.0 14 04/28/2024
4.4.0 17 05/02/2024
4.3.11 19 07/04/2023
4.3.3 17 05/24/2024
4.3.0 18 05/02/2024
4.2.0 16 07/04/2023
4.1.0 17 04/28/2024
4.0.0 11 12/03/2024
3.2.1 23 05/02/2024
3.2.0 18 04/29/2024
3.1.0 15 07/16/2023
3.0.0 24 05/12/2024
2.1.0 14 05/26/2024
2.0.1.2 13 11/29/2024