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
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
|
878 |
|
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
|
587 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
45 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
37 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
24 |
|
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.1
- For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+
|
23 |
|
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
|
22 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
22 |
|
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
|
21 |
|
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
|
20 |
|
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.1
- For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+
|
20 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
20 |
|
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
|
19 |
|
NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
|
19 |
|
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
|
18 |
|
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
|
18 |
|
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
|
17 |
|
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
|
17 |
|
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
|
17 |
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
.NET Framework 4.6.1
- Microsoft.Extensions.Configuration.Abstractions (>= 2.1.0)
- NLog (>= 5.0.0)
- Microsoft.Extensions.Logging (>= 2.1.0)
.NET Standard 2.0
- NLog (>= 5.0.0)
- Microsoft.Extensions.Logging (>= 2.1.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 2.1.0)
.NET 5.0
- NLog (>= 5.0.0)
- Microsoft.Extensions.Logging (>= 5.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 5.0.0)
.NET Core 3.1
- Microsoft.Extensions.Logging (>= 3.1.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 3.1.0)
- NLog (>= 5.0.0)
.NET Standard 1.5
- NLog (>= 5.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 1.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 1.0.0)
- NETStandard.Library (>= 1.6.0)
.NET Standard 1.3
- NLog (>= 5.0.0)
- NETStandard.Library (>= 1.6.0)
- Microsoft.Extensions.Logging.Abstractions (>= 1.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 1.0.0)
| Version | Downloads | Last updated |
|---|---|---|
| 6.3.0 | 3 | 11/16/2026 |
| 6.2.2 | 4 | 10/30/2026 |
| 6.2.1 | 2 | 10/01/2026 |
| 6.2.0 | 12 | 08/30/2026 |
| 6.1.4 | 14 | 07/19/2026 |
| 6.1.3 | 16 | 05/15/2026 |
| 6.1.2 | 19 | 03/04/2026 |
| 6.1.1 | 18 | 02/04/2026 |
| 6.1.0 | 16 | 11/18/2025 |
| 6.0.6 | 16 | 11/18/2025 |
| 6.0.5 | 14 | 10/15/2025 |
| 6.0.4 | 17 | 09/17/2025 |
| 6.0.3 | 18 | 08/16/2025 |
| 6.0.2 | 17 | 07/23/2025 |
| 6.0.1 | 18 | 07/23/2025 |
| 6.0.0 | 18 | 06/22/2025 |
| 6.0.0-rc4 | 12 | 06/20/2025 |
| 6.0.0-rc3 | 14 | 08/17/2025 |
| 5.5.0 | 15 | 06/21/2025 |
| 5.4.0 | 21 | 02/14/2025 |
| 5.3.15 | 32 | 12/03/2024 |
| 5.3.14 | 18 | 10/01/2024 |
| 5.3.13 | 51 | 09/16/2024 |
| 5.3.12 | 18 | 08/15/2024 |
| 5.3.11 | 39 | 06/20/2024 |
| 5.3.10 | 20 | 06/29/2024 |
| 5.3.9 | 18 | 07/14/2024 |
| 5.3.8 | 63 | 02/05/2024 |
| 5.3.7 | 21 | 12/15/2023 |
| 5.3.5 | 24 | 01/09/2024 |
| 5.3.4 | 19 | 01/09/2024 |
| 5.3.3 | 13 | 01/09/2024 |
| 5.3.2 | 23 | 01/11/2024 |
| 5.3.1 | 16 | 01/09/2024 |
| 5.3.0 | 26 | 01/09/2024 |
| 5.2.5 | 19 | 01/09/2024 |
| 5.2.3 | 19 | 01/09/2024 |
| 5.2.2 | 24 | 01/09/2024 |
| 5.2.1 | 22 | 01/09/2024 |
| 5.2.0 | 20 | 01/09/2024 |
| 5.1.0 | 19 | 01/09/2024 |
| 5.0.4 | 20 | 11/06/2022 |
| 5.0.3 | 18 | 12/27/2023 |
| 5.0.2 | 20 | 01/09/2024 |
| 5.0.1 | 17 | 08/15/2022 |
| 5.0.0 | 27 | 06/16/2022 |
| 1.7.5 | 21 | 01/09/2024 |
| 1.7.4 | 21 | 09/29/2021 |
| 1.7.3 | 596 | 07/19/2021 |
| 1.7.2 | 17 | 01/09/2024 |
| 1.7.1 | 22 | 01/09/2024 |
| 1.7.0 | 874 | 02/16/2021 |
| 1.6.5 | 24 | 01/09/2024 |
| 1.6.4 | 17 | 01/09/2024 |
| 1.6.3 | 20 | 12/30/2023 |
| 1.6.2 | 19 | 01/09/2024 |
| 1.6.1 | 15 | 01/09/2024 |
| 1.6.0 | 22 | 01/09/2024 |
| 1.5.4 | 14 | 01/09/2024 |
| 1.5.3 | 16 | 01/09/2024 |
| 1.5.2 | 18 | 01/09/2024 |
| 1.5.1 | 16 | 12/12/2023 |
| 1.5.0 | 23 | 01/09/2024 |
| 1.4.0 | 21 | 12/12/2023 |
| 1.3.0 | 20 | 01/08/2024 |
| 1.2.1 | 25 | 01/09/2024 |
| 1.2.0 | 18 | 01/09/2024 |
| 1.1.0 | 21 | 01/08/2024 |
| 1.0.2 | 20 | 01/11/2024 |
| 1.0.1 | 15 | 01/09/2024 |
| 1.0.0 | 19 | 01/09/2024 |