NLog 6.0.0

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
JustEat.StatsD
JUST EAT statsd metrics-publishing
27
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
25
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
24
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
24
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
24
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
23
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
23
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
23
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
22
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
22
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
22
Castle.Core
Core of the castle project
22
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
21
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
21
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
21

NLog v6.0 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 - Renamed ChainsawTarget to Log4JXmlTarget to match Log4JXmlEventLayout - 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. - Added support for params ReadOnlySpan when using C# 13 - Skip LogEventInfo.Parameters-array-allocation when unable to defer message-template formatting. - Updated NLog API with Nullable-support and introduced Layout.Empty - Marked [RequiredParameter] as obsolete with Nullable-support, and instead validate options at initialization. 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.1 3 06/29/2025
6.0.0 3 06/28/2025
6.0.0-rc4 4 06/18/2025
6.0.0-rc3 4 06/12/2025
6.0.0-rc2 6 06/06/2025
6.0.0-rc1 6 06/06/2025
6.0.0-preview1 9 05/03/2025
5.5.0 5 06/06/2025
5.4.0 16 02/07/2025
5.3.4 31 09/16/2024
5.3.3 18 08/12/2024
5.3.2 35 05/03/2024
5.3.1 21 04/29/2024
5.2.8 20 01/08/2024
5.2.7 24 12/15/2023
5.2.6 22 12/15/2023
5.2.5 21 12/15/2023
5.2.4 20 12/15/2023
5.2.3 20 12/15/2023
5.2.2 17 12/15/2023
5.2.1 22 12/15/2023
5.2.0 23 08/28/2023
5.1.5 21 08/27/2023
5.1.4 20 08/30/2023
5.1.3 18 08/31/2023
5.1.2 18 08/30/2023
5.1.1 20 08/29/2023
5.1.0 21 09/01/2023
5.0.5 24 08/29/2023
5.0.4 20 09/01/2023
5.0.3 20 08/27/2023
5.0.2 22 08/29/2023
5.0.1 20 08/26/2023
5.0.0 23 02/17/2024
4.7.15 18 08/26/2023
4.7.14 27 12/15/2023
4.7.13 22 08/31/2023
4.7.12 22 08/27/2023
4.7.11 23 08/29/2023
4.7.10 21 08/28/2023
4.7.9 22 08/29/2023
4.7.8 17 02/17/2024
4.7.7 20 01/08/2024
4.7.6 17 08/28/2023
4.7.5 19 08/28/2023
4.7.4 19 08/31/2023
4.7.3 21 08/25/2023
4.7.2 18 08/28/2023
4.7.1 19 08/31/2023
4.7.0 19 08/28/2023
4.6.8 20 08/31/2023
4.6.7 19 08/31/2023
4.6.6 25 08/25/2023
4.6.5 19 08/29/2023
4.6.4 18 08/31/2023
4.6.3 18 08/27/2023
4.6.2 15 08/27/2023
4.6.1 26 08/25/2023
4.6.0 21 08/28/2023
4.5.11 23 12/30/2020
4.5.10 27 08/28/2023
4.5.9 21 08/29/2023
4.5.8 20 08/26/2023
4.5.7 24 08/25/2023
4.5.6 20 08/30/2023
4.5.5 23 08/25/2023
4.5.4 18 08/29/2023
4.5.3 22 08/29/2023
4.5.2 20 08/31/2023
4.5.1 24 08/30/2023
4.5.0 22 08/25/2023
4.4.13 18 08/28/2023
4.4.12 21 08/29/2023
4.4.11 19 08/30/2023
4.4.10 18 08/31/2023
4.4.9 21 08/31/2023
4.4.8 17 08/28/2023
4.4.7 18 08/26/2023
4.4.6 19 08/30/2023
4.4.5 20 08/27/2023
4.4.4 24 08/30/2023
4.4.3 16 08/28/2023
4.4.2 20 08/27/2023
4.4.1 21 08/29/2023
4.4.0 18 08/31/2023
4.3.11 20 08/30/2023
4.3.10 23 08/25/2023
4.3.9 24 08/26/2023
4.3.8 19 08/30/2023
4.3.7 16 08/29/2023
4.3.6 17 12/30/2023
4.3.5 17 08/29/2023
4.3.4 19 08/28/2023
4.3.3 20 02/17/2024
4.3.2 25 08/26/2023
4.3.1 17 02/17/2024
4.3.0 15 08/28/2023
4.2.3 21 08/27/2023
4.2.2 21 08/30/2023
4.2.1 20 08/29/2023
4.2.0 21 08/31/2023
4.1.2 20 08/25/2023
4.1.1 20 08/30/2023
4.1.0 17 08/31/2023
4.0.1 19 08/27/2023
4.0.0 17 08/31/2023
3.2.1 19 08/30/2023
3.2.0 19 08/26/2023
3.1.0 22 02/17/2024
3.0.0 20 08/26/2023
2.1.0 20 08/30/2023
2.0.1.2 20 02/17/2024
2.0.0.2000 16 02/17/2024
1.0.0.505 19 02/16/2024