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
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
14
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
12
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
11
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.Targets.ElasticSearch
An NLog target that utilises the elasticsearch low level client.
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
10
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.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

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