NLog.Extensions.Logging 5.0.0

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

Showing the top 20 packages that depend on NLog.Extensions.Logging.

Packages Downloads
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
7
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
7
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
8
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
9
NLog.Web.AspNetCore
NLog LoggerProvider for Microsoft.Extensions.Logging and ASP.NET Core platform. Adds helpers and layout renderers for websites and web applications. Supported platforms: - For ASP.NET Core 3, .NET Core 3.0 - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+ - For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
7
NLog.Web.AspNetCore
NLog LoggerProvider for Microsoft.Extensions.Logging and ASP.NET Core platform. Adds helpers and layout renderers for websites and web applications. Supported platforms: - For ASP.NET Core 3, .NET Core 3.0 - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+ - For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
9
NLog.Web.AspNetCore
NLog LoggerProvider for Microsoft.Extensions.Logging and ASP.NET Core platform. Adds helpers and layout renderers for websites and web applications. Supported platforms: - For ASP.NET Core 5, .NET 5 - For ASP.NET Core 3, .NET Core 3.0 - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+ - For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
8
NLog.Web.AspNetCore
NLog LoggerProvider for Microsoft.Extensions.Logging and ASP.NET Core platform. Adds helpers and layout renderers for websites and web applications. Supported platforms: - For ASP.NET Core 5, .NET 5 - For ASP.NET Core 3, .NET Core 3.0 - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+ - For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
9
NLog.Web.AspNetCore
NLog LoggerProvider for Microsoft.Extensions.Logging and ASP.NET Core platform. Adds helpers and layout renderers for websites and web applications. Supported platforms: - For ASP.NET Core 6, .NET 6 - For ASP.NET Core 5, .NET 5 - For ASP.NET Core 3, .NET Core 3.0 - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+ - For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
8
NLog.Web.AspNetCore
Use NLog with the ASP.NET Core platform. Adds helpers and layout renderers for websites and webapplications. Supported platforms: - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+ - For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
7
NLog.Web.AspNetCore
Use NLog with the ASP.NET Core platform. Adds helpers and layout renderers for websites and webapplications. Supported platforms: - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+ - For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
8
NLog.Web.AspNetCore
Use NLog with the ASP.NET Core platform. Adds helpers and layout renderers for websites and webapplications. Supported platforms: - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+ - For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x
9

v5.0 (2022/05/17)

🚀 Features

  • [#465] Add support for config variables with JsonLayout (@snakefoot)
  • [#520] Changed LoggingConfigurationSectionName to default NLog (@snakefoot)
  • [#529] NLogLoggerProvider - Always load NLog config from appsettings when possible (@snakefoot)
  • [#554] NLogProviderOptions with support for CaptureEventId.EventId + EventName (@snakefoot)
  • [#555] MicrosoftConsoleJsonLayout - Simulates Microsoft AddJsonConsole Formatter (@snakefoot)

👍 Enhancements

  • [#522] Reload now fully support KeepVariablesOnReload (@snakefoot)
  • [#521] Change default value for RemoveLoggerFactoryFilter to true (@snakefoot)
  • [#535] NLogProviderOptions with support for RegisterServiceProvider (@snakefoot)
  • [#531] Fix NLogLoggingConfiguration to handle throwConfigExceptions with NLog 5.0 (@snakefoot)
  • [#564] NLog.ExtensionsHosting includes ContentRootPath when scanning for NLog.config candidate (@snakefoot)
  • [#565] NLogProviderOptions ShutdownOnDispose = true disables LogFactory.AutoShutdown (@snakefoot)
  • [#583] NLogBeginScopeParser - Improve parsing of custom KeyValuePair as scope-properties (@snakefoot)
  • [#581] Support RemoveLoggerFactoryFilter and ReplaceLoggerFactory in appsettings.json (@snakefoot)

⏩ Performance

  • [#319] NLogLogger - Reduce allocation by not boxing EventId unless CaptureEventId = Legacy (@snakefoot)
  • [#485] Remove startup overhead caused by enumerating all assemblies for callsite logic (@snakefoot)
  • [#519] Update to NLog 5.0 with ScopeContext instead of MDLC (@snakefoot)

🔧 Maintenance

  • [#486] Removed platform .NET 4.5.1 (@snakefoot)
  • [#530] Replaced platform netcoreapp3.0 with netcoreapp3.1 (@snakefoot)
  • [#534] Fixed spelling for IncludeActivityIdsWithBeginScope (@snakefoot)
  • [#539] NLogLogger refactoring to reduce code-path-navigations (@snakefoot)
  • [#541] NLogLogger refactoring for faster EventId-property capture (@snakefoot)
  • [#546] NLogLogger refactoring for faster EventId-property capture (@snakefoot)
  • [#547] NLogLogger refactoring for faster EventId-property capture (@snakefoot)
  • [#552] Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.1 (@dependabot[bot])
  • [#558] Bump to Visual Studio 2022 on AppVeyor (@snakefoot)
  • [#559] NLogLogger - Reduce complexity of CreateLogEventInfo (@snakefoot)
  • [#570] MicrosoftConsoleLayoutRenderer - Fixed IndexOutOfRangeException when large EventID (@mickelsonmichael)
  • [#571] MicrosoftConsoleJsonLayout - Fixed IndexOutOfRangeException when large EventID (@snakefoot)
  • [#572] MicrosoftConsoleLayoutRenderer - Skip string-allocation for EventId when possible on platform (@snakefoot)
  • [#579] ConfigSettingLayoutRenderer - Improve support for RegisterServiceProvider (@snakefoot)
  • [#590] Added nuget-dependency Microsoft.Extensions.Configuration.Abstractions for all platforms (@snakefoot)

Full changelog: https://github.com/NLog/NLog.Extensions.Logging/blob/master/CHANGELOG.MD

List of major changes in NLog 5.0: https://nlog-project.org/2021/08/25/nlog-5-0-preview1-ready.html

Version Downloads Last updated
6.1.0 3 24.11.2025
6.0.6 3 22.11.2025
6.0.5 4 25.10.2025
6.0.4 8 16.09.2025
6.0.3 8 20.08.2025
6.0.2 7 21.08.2025
6.0.1 6 21.08.2025
6.0.0 6 21.08.2025
5.5.0 7 21.08.2025
5.4.0 10 21.08.2025
5.3.15 6 21.08.2025
5.3.14 7 21.08.2025
5.3.13 5 21.08.2025
5.3.12 8 21.08.2025
5.3.11 5 21.08.2025
5.3.10 8 21.08.2025
5.3.9 5 21.08.2025
5.3.8 6 21.08.2025
5.3.7 7 21.08.2025
5.3.5 8 21.08.2025
5.3.4 5 21.08.2025
5.3.3 7 21.08.2025
5.3.2 6 21.08.2025
5.3.1 7 21.08.2025
5.3.0 7 21.08.2025
5.2.5 8 21.08.2025
5.2.3 7 21.08.2025
5.2.2 7 21.08.2025
5.2.1 6 21.08.2025
5.2.0 6 21.08.2025
5.1.0 7 21.08.2025
5.0.4 9 21.08.2025
5.0.3 6 21.08.2025
5.0.2 5 21.08.2025
5.0.1 7 21.08.2025
5.0.0 6 21.08.2025
1.7.5 8 21.08.2025
1.7.4 5 21.08.2025
1.7.3 5 21.08.2025
1.7.2 5 21.08.2025
1.7.1 9 21.08.2025
1.7.0 8 21.08.2025
1.6.5 6 21.08.2025
1.6.4 7 21.08.2025
1.6.3 7 21.08.2025
1.6.2 6 21.08.2025
1.6.1 6 21.08.2025
1.6.0 8 21.08.2025
1.5.4 7 21.08.2025
1.5.3 7 21.08.2025
1.5.2 6 21.08.2025
1.5.1 7 21.08.2025
1.5.0 9 21.08.2025
1.4.0 6 21.08.2025
1.3.0 8 21.08.2025
1.2.1 6 21.08.2025
1.2.0 8 21.08.2025
1.1.0 6 21.08.2025
1.0.2 9 21.08.2025
1.0.1 7 21.08.2025
1.0.0 7 21.08.2025