NLog 5.5.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 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
Castle.Core
Core of the castle project
14
ET.Core.WebApi
Package Description
27
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
8
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, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.Web.AspNetCore
8
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
8
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.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
8

ChangeLog:

  • Restored LogFactory.Setup().SetupFromEnvironmentVariables() as not obsolete (#5710) @snakefoot
  • Avoid using MakeGenericType for Dictionary enumeration when AOT (#5717) @snakefoot
  • Stop using obsolete Assembly.CodeBase for NetStandard (#5730) @snakefoot
  • ExceptionLayoutRenderer - Handle Exception properties like StackTrace can throw with AOT (#5742) @snakefoot
  • ExceptionLayoutRenderer - Handle Data-collection-item ToString can throw with AOT (#5743) @snakefoot
  • ExceptionLayoutRenderer - Handle Exception-properties can throw with AOT (#5763) @snakefoot
  • ServiceRepository - Improve exception-handling when resolving service-types while disposing (#5756) @snakefoot
  • LayoutRenderer - Optimize performance by skipping cache result from render Inner Layout (#5759) @snakefoot
  • ConditionLayoutExpression - Optimize performance by skipping cache result from render Inner Layout (#5795) @snakefoot
  • Mark IFactory RegisterType as obsolete, since it will be removed with NLog v6 (#5731) @snakefoot
  • Mark JsonLayout EscapeForwardSlash as obsolete, since disabled with NLog v6 (#5766) @snakefoot
  • Mark ExceptionLayoutRenderer Formats-List as obsolete, since immutable with NLog v6 (#5823) @snakefoot
  • Updated API-code examples to not depend on obsolete SimpleConfigurator (#5769) @snakefoot
  • ObjectReflectionCache - Handle PropertyValue can throw with AOT (#5776) @snakefoot
  • NetworkTarget - Introduced option NoDelay to disable delayed ACK (#5780) @snakefoot
  • Fix InternalLogger noise about reflection for FuncLayoutRenderer (#5788) @snakefoot
  • TargetWithContext - Reduce allocation for RenderLogEvent when SimpleLayout (#5792) @snakefoot
  • Refactoring to improve null value handling (#5810) @snakefoot
  • Refactoring to improve null value handling (#5812) @snakefoot
  • LoggingConfigurationParser - Prioritize LoggingRules from current config (#5817) @snakefoot
  • WhenEmptyLayoutRendererWrapper - Optimize IStringValueRenderer Logic (#5825) @snakefoot

NLog v5.2 changes how to load extensions: https://nlog-project.org/2023/05/30/nlog-5-2-trim-warnings.html

List of major changes in NLog 5.0: https://nlog-project.org/2022/05/16/nlog-5-0-finally-ready.html

Full changelog: https://github.com/NLog/NLog/releases

For all config options and platform support, check https://nlog-project.org/config/

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