NLog 6.1.3

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.Config
Empty NLog.config file.
3
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"
3
NLog.Config
Xml file to get started with configuring NLog. This package is not mandatory to get started with NLog: the configuration file can created manually and the configuration can be created programmatically.
3
NLog.Database
NLog.Database includes DatabaseTarget for writing to any database with DbProvider support
3
NLog.Database
NLog.Database includes DatabaseTarget for writing to any database with DbProvider support
39
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
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
35

Changelog:

  • [#6168] PropertiesDictionary - Preserve MessageTemplate property details when adding extra properties. (@snakefoot)
  • [#6149] LoggingRule - Updating FinalMinLevel should also update MinLevel when same LogLevel. (@snakefoot)
  • [#6165] AsyncTaskTarget - Retry with help from Task.Delay. (@snakefoot)
  • [#6164] DateLayoutRenderer - UniversalTime = false should only convert to local when UTC. (@snakefoot)
  • [#6138] SimpleLayout skip Precalculate when INoAllocationStringValueRenderer available. (@reabr)
  • [#6158] TemplateEnumerator - Optimize ParseTextPart by direct calling IndexOfAny. (@snakefoot)
  • [#6152] TemplateEnumerator - Optimize parsing of single digit holename. (@snakefoot)
  • [#6142] InternalLogger - Skip allocating params array when no exception. (@snakefoot)
  • [#6145] InternalLogger - Handle Exception ToString can throw with AOT. (@snakefoot)
  • [#6154] ColoredConsoleTarget - Optimize Console Coloring for Word Highlight. (@snakefoot)
  • [#6159] ColoredConsoleTarget - Reset capture of previous colors after ResetDefaultColors. (@snakefoot)
  • [#6140] TryParseEnum - Apply Enum.TryParse since better for AOT. (@snakefoot)
  • [#6143] Fixed various issues reported by EnableNETAnalyzers. (@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.3 5 05/10/2026
6.1.2 3 04/04/2026
6.1.1 4 03/20/2026
6.1.0 3 04/16/2026
6.0.7 2 04/24/2026
6.0.6 2 04/24/2026
6.0.5 3 03/25/2026
6.0.4 2 04/24/2026
6.0.3 4 04/06/2026
6.0.2 2 04/24/2026
6.0.1 2 04/24/2026
6.0.0 2 04/24/2026
5.5.1 2 04/24/2026
5.5.0 2 04/24/2026
5.4.0 11 03/25/2026
5.3.4 11 04/07/2026
5.3.3 2 04/24/2026
5.3.2 2 03/20/2026
5.3.1 2 04/24/2026
5.2.8 2 04/24/2026
5.2.7 2 04/24/2026
5.2.6 2 04/24/2026
5.2.5 2 04/24/2026
5.2.4 2 04/24/2026
5.2.3 2 04/24/2026
5.2.2 2 04/24/2026
5.2.1 2 04/24/2026
5.2.0 2 04/24/2026
5.1.5 2 04/24/2026
5.1.4 2 04/24/2026
5.1.3 2 04/24/2026
5.1.2 2 04/24/2026
5.1.1 2 04/24/2026
5.1.0 3 04/24/2026
5.0.5 2 04/24/2026
5.0.4 2 04/24/2026
5.0.3 2 04/24/2026
5.0.2 2 04/24/2026
5.0.1 2 04/24/2026
5.0.0 2 04/24/2026
4.7.15 2 04/24/2026
4.7.14 2 04/24/2026
4.7.13 2 04/24/2026
4.7.12 2 04/24/2026
4.7.11 2 04/24/2026
4.7.10 2 04/24/2026
4.7.9 2 04/24/2026
4.7.8 2 04/24/2026
4.7.7 2 04/24/2026
4.7.6 2 04/24/2026
4.7.5 2 04/24/2026
4.7.4 2 04/24/2026
4.7.3 2 04/24/2026
4.7.2 2 04/24/2026
4.7.1 2 04/24/2026
4.7.0 2 04/24/2026
4.6.8 2 04/24/2026
4.6.7 2 04/24/2026
4.6.6 2 04/24/2026
4.6.5 3 04/24/2026
4.6.4 2 04/24/2026
4.6.3 2 04/24/2026
4.6.2 2 04/24/2026
4.6.1 2 04/24/2026
4.6.0 2 04/24/2026
4.5.11 2 04/24/2026
4.5.10 2 04/24/2026
4.5.9 2 04/24/2026
4.5.8 2 04/24/2026
4.5.7 2 04/24/2026
4.5.6 2 04/24/2026
4.5.5 2 04/24/2026
4.5.4 2 04/24/2026
4.5.3 2 04/24/2026
4.5.2 2 04/24/2026
4.5.1 2 04/24/2026
4.5.0 2 04/24/2026
4.4.13 2 04/24/2026
4.4.12 2 04/24/2026
4.4.11 2 04/24/2026
4.4.10 2 04/24/2026
4.4.9 2 04/24/2026
4.4.8 2 04/24/2026
4.4.7 2 04/24/2026
4.4.6 2 04/24/2026
4.4.5 2 04/24/2026
4.4.4 2 04/24/2026
4.4.3 2 04/24/2026
4.4.2 2 04/24/2026
4.4.1 2 04/24/2026
4.4.0 2 04/24/2026
4.3.11 2 04/24/2026
4.3.10 2 04/24/2026
4.3.9 2 04/24/2026
4.3.8 2 04/24/2026
4.3.7 2 04/24/2026
4.3.6 2 04/24/2026
4.3.5 2 04/24/2026
4.3.4 2 04/24/2026
4.3.3 2 04/24/2026
4.3.2 2 04/24/2026
4.3.1 2 04/24/2026
4.3.0 2 04/24/2026
4.2.3 2 04/24/2026
4.2.2 2 04/24/2026
4.2.1 2 04/24/2026
4.2.0 2 04/24/2026
4.1.2 2 04/24/2026
4.1.1 2 04/24/2026
4.1.0 2 04/24/2026
4.0.1 2 04/24/2026
4.0.0 2 04/24/2026
3.2.1 2 04/24/2026
3.2.0 2 03/23/2026
3.1.0 1 05/10/2026
3.0.0 1 05/09/2026
2.1.0 2 04/24/2026
2.0.1.2 2 04/24/2026
2.0.0.2000 2 04/24/2026
1.0.0.505 2 04/24/2026