NLog.Extensions.Logging 5.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package NLog.Extensions.Logging --version 5.0.0
NuGet\Install-Package NLog.Extensions.Logging -Version 5.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NLog.Extensions.Logging" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NLog.Extensions.Logging --version 5.0.0
#r "nuget: NLog.Extensions.Logging, 5.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NLog.Extensions.Logging as a Cake Addin
#addin nuget:?package=NLog.Extensions.Logging&version=5.0.0

// Install NLog.Extensions.Logging as a Cake Tool
#tool nuget:?package=NLog.Extensions.Logging&version=5.0.0

NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications.

For ASP.NET Core, check: NLog.Web.AspNetCore

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 is compatible.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net46 was computed.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (288)

Showing the top 5 NuGet packages that depend on NLog.Extensions.Logging:

Package Downloads
NLog.Web.AspNetCore The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.

NLog.Extensions.Hosting The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

NLog extension for Microsoft.Extensions.Hosting for logging in .NET Standard libraries and .NET Core applications using IHostBuilder. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore

NLog.Web.AspNetCore.Targets.Gelf

Gelf4NLog is an NLog target implementation to push log messages to GrayLog2.

TIKSN-Framework

This is a .NET Framework enhancement framework. Main features are Versioning, Finance, Currency, Foreign Exchange, Money, Pricing strategy, Telemetry, Composite Weighted Progress, Repository and Unity of Wok pattern implementation with Entity Framework Core, Network Connectivity Service and Triggering, Settings, Windows Registry configuration source, Azure Storage Repository, MongoDB Repository, NoDB Repository, Lingual and Regional Localization, Serialization, Rest Requester, Rest Repository, Dependency Injection, Composition Root Setup base classes.

NStratis

The C# Bitcoin Library based on NBitcoin

GitHub repositories (68)

Showing the top 5 popular GitHub repositories that depend on NLog.Extensions.Logging:

Repository Stars
microsoft/PowerToys
Windows system utilities to maximize productivity
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
quartznet/quartznet
Quartz Enterprise Scheduler .NET
Version Downloads Last updated
5.3.8 2,213,051 12/29/2023
5.3.7 453,409 12/6/2023
5.3.5 1,502,367 10/15/2023
5.3.4 1,111,295 9/6/2023
5.3.3 867,591 8/5/2023
5.3.2 1,511,482 7/4/2023
5.3.1 85,576 7/1/2023
5.3.0 1,555,226 5/30/2023
5.2.5 167,256 5/25/2023
5.2.3 2,446,505 3/28/2023
5.2.2 1,982,912 2/17/2023
5.2.1 2,611,867 12/29/2022
5.2.0 1,508,778 11/27/2022
5.1.0 2,228,142 10/25/2022
5.0.4 2,818,222 9/1/2022
5.0.3 87,990 8/31/2022
5.0.2 729,223 8/12/2022
5.0.1 1,792,360 6/23/2022
5.0.0 3,134,966 5/17/2022
1.7.5 1,018,236 6/4/2022
1.7.4 14,610,307 8/25/2021
1.7.3 3,231,659 6/15/2021
1.7.2 7,272,905 3/26/2021
1.7.1 2,063,165 2/26/2021
1.7.0 3,306,472 12/29/2020
1.6.5 2,945,304 8/27/2020
1.6.4 7,720,160 5/20/2020
1.6.3 376,406 5/11/2020
1.6.2 7,149,730 3/16/2020
1.6.1 3,378,986 10/19/2019
1.6.0 7,099,943 10/7/2019
1.5.4 1,855,572 9/6/2019
1.5.3 181,695 8/28/2019
1.5.2 712,948 7/14/2019
1.5.1 2,782,541 6/5/2019
1.5.0 1,279,494 4/30/2019
1.4.0 4,667,992 1/16/2019
1.3.0 3,432,251 9/22/2018
1.2.1 1,140,244 8/5/2018
1.2.0 299,479 7/20/2018
1.1.0 588,703 5/25/2018
1.0.2 2,506,931 5/10/2018
1.0.1 764,079 4/7/2018
1.0.0 684,167 3/25/2018

### 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