NLog 6.1.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 6, 7, 8, 9 and 10 - .NET Standard 2.0 and 2.1 - .NET Framework 3.5 - 4.8 - Xamarin Android + iOS (.NET Standard) - Mono 4 For integrating NLog with Microsoft.Extensions.Logging, check: https://www.nuget.org/packages/NLog.Extensions.Logging For using NLog with 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
15
ET.Core.WebApi
Package Description
29
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
9
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
10
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
11
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
9
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
9
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
10
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
9

Changelog:

  • [#5999] JsonLayout - Added support for DottedRecursion. (@thatrajeevkr)
  • [#6084] JsonLayout - Protect against cyclic object graphs when DottedRecursion. (@snakefoot)
  • [#6075] DebuggerTarget - Add support for MaxMessageSize and OnOverflow-action. (@snakefoot)
  • [#6070] InternalLogger - Auto enable LogLevel.Info when activated. (@snakefoot)
  • [#6045] LoggingConfigurationParser - Report unrecognized options in targets and rules section. (@snakefoot)
  • [#6059] LogEventBuilder - Properties with IReadOnlyCollection for initialCapacity. (@snakefoot)
  • [#6065] FileTarget - Adjust ArchiveSuffixFormat to better handle legacy ArchiveFileName. (@snakefoot)
  • [#6079] FileTarget - Replace Environment.TickCount with LogEventInfo.TimeStamp. (@snakefoot)
  • [#6066] FileTarget - Simplify FileName natural ordering logic. (@snakefoot)
  • [#6069] FileTarget - Reduce code complexity for NaturalStringComparer. (@snakefoot)
  • [#6064] FileTarget - Reduce code complexity for ArchiveNumbering property. (@snakefoot)
  • [#6082] JsonLayout - Faster Json encoding with INoAllocationStringValueRenderer. (@snakefoot)
  • [#6083] CsvLayout - Faster CSV encoding with INoAllocationStringValueRenderer. (@snakefoot)
  • [#6081] DefaultJsonSerializer - Reduce overhead of PerformJsonEscapeWhenNeeded. (@snakefoot)
  • [#6025] LogEventInfo - Changed LayoutCache from dictionary to linked list. (@snakefoot)
  • [#6049] PropertiesDictionary - Increase initial capacity when insert. (@snakefoot)
  • [#6061] PropertiesDictionary - Simplify enumerator when mixing property types. (@snakefoot)
  • [#6074] WhenEmpty - Optimize when IsFixedText. (@snakefoot)
  • [#6062] BufferingTargetWrapper - Improve InternalLogger output when WrappedTarget is NULL. (@snakefoot)
  • [#6067] Fix nullable warnings from NET10 annotations. (@snakefoot)
  • [#6068] Support nullable where TKey : notnull for dictionary. (@snakefoot)
  • [#6071] AssemblyExtensionTypes - Reduce code complexity. (@snakefoot)
  • [#6072] LoggingConfigurationFileLoader - Handle unknown type loading for App.config. (@snakefoot)
  • [#6076] Marked ConversionHelpers.TryParseEnum as obsolete. (@snakefoot)
  • [#5949] CallSiteLayoutRenderer - Obsoleted CleanNamesOfAnonymousDelegates + CleanNamesOfAsyncContinuation. (@snakefoot)

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.1.0 1 09.02.2026
6.0.7 3 18.12.2025
6.0.6 4 16.11.2025
6.0.5 8 25.10.2025
6.0.4 9 16.09.2025
6.0.3 9 28.08.2025
6.0.2 7 04.08.2025
6.0.1 7 04.08.2025
6.0.0 8 22.06.2025
6.0.0-rc4 11 18.06.2025
6.0.0-rc3 12 09.06.2025
6.0.0-rc2 12 06.06.2025
6.0.0-rc1 13 31.05.2025
6.0.0-preview1 13 13.05.2025
5.5.1 7 04.08.2025
5.5.0 14 02.06.2025
5.4.0 15 15.03.2025
5.3.4 15 15.03.2025
5.3.3 19 15.03.2025
5.3.2 15 15.03.2025
5.3.1 20 15.03.2025
5.2.8 15 15.03.2025
5.2.7 15 15.03.2025
5.2.6 14 15.03.2025
5.2.5 14 15.03.2025
5.2.4 13 15.03.2025
5.2.3 15 15.03.2025
5.2.2 16 15.03.2025
5.2.1 16 15.03.2025
5.2.0 14 15.03.2025
5.1.5 16 15.03.2025
5.1.4 15 15.03.2025
5.1.3 15 15.03.2025
5.1.2 15 15.03.2025
5.1.1 18 15.03.2025
5.1.0 15 15.03.2025
5.0.5 13 15.03.2025
5.0.4 17 15.03.2025
5.0.3 16 15.03.2025
5.0.2 11 15.03.2025
5.0.1 15 15.03.2025
5.0.0 16 15.03.2025
4.7.15 14 15.03.2025
4.7.14 16 15.03.2025
4.7.13 14 15.03.2025
4.7.12 14 15.03.2025
4.7.11 13 15.03.2025
4.7.10 16 15.03.2025
4.7.9 15 15.03.2025
4.7.8 14 15.03.2025
4.7.7 15 15.03.2025
4.7.6 14 15.03.2025
4.7.5 17 15.03.2025
4.7.4 18 15.03.2025
4.7.3 16 15.03.2025
4.7.2 14 15.03.2025
4.7.1 14 15.03.2025
4.7.0 13 15.03.2025
4.6.8 20 15.03.2025
4.6.7 18 15.03.2025
4.6.6 16 15.03.2025
4.6.5 19 15.03.2025
4.6.4 14 15.03.2025
4.6.3 17 15.03.2025
4.6.2 15 15.03.2025
4.6.1 15 15.03.2025
4.6.0 17 15.03.2025
4.5.11 14 15.03.2025
4.5.10 14 15.03.2025
4.5.9 15 15.03.2025
4.5.8 16 15.03.2025
4.5.7 14 15.03.2025
4.5.6 14 15.03.2025
4.5.5 15 15.03.2025
4.5.4 18 15.03.2025
4.5.3 12 15.03.2025
4.5.2 15 15.03.2025
4.5.1 15 15.03.2025
4.5.0 16 15.03.2025
4.4.13 14 15.03.2025
4.4.12 14 15.03.2025
4.4.11 15 15.03.2025
4.4.10 17 15.03.2025
4.4.9 15 15.03.2025
4.4.8 14 15.03.2025
4.4.7 14 15.03.2025
4.4.6 18 15.03.2025
4.4.5 16 15.03.2025
4.4.4 14 15.03.2025
4.4.3 14 15.03.2025
4.4.2 16 15.03.2025
4.4.1 14 15.03.2025
4.4.0 17 15.03.2025
4.3.11 14 15.03.2025
4.3.10 15 15.03.2025
4.3.9 15 15.03.2025
4.3.8 14 15.03.2025
4.3.7 15 15.03.2025
4.3.6 14 15.03.2025
4.3.5 19 15.03.2025
4.3.4 14 15.03.2025
4.3.3 15 15.03.2025
4.3.2 15 15.03.2025
4.3.1 15 15.03.2025
4.3.0 16 15.03.2025
4.2.3 18 15.03.2025
4.2.2 17 15.03.2025
4.2.1 14 15.03.2025
4.2.0 14 15.03.2025
4.1.2 14 15.03.2025
4.1.1 13 15.03.2025
4.1.0 14 15.03.2025
4.0.1 17 15.03.2025
4.0.0 15 15.03.2025
3.2.1 15 15.03.2025
3.2.0 14 15.03.2025
3.1.0 17 15.03.2025
3.0.0 16 15.03.2025
2.1.0 15 15.03.2025
2.0.1.2 17 15.03.2025
2.0.0.2000 14 15.03.2025
1.0.0.505 15 15.03.2025