NLog.Extensions.Logging
5.0.0
Prefix Reserved
Install-Package NLog.Extensions.Logging -Version 5.0.0
dotnet add package NLog.Extensions.Logging --version 5.0.0
<PackageReference Include="NLog.Extensions.Logging" Version="5.0.0" />
paket add NLog.Extensions.Logging --version 5.0.0
#r "nuget: NLog.Extensions.Logging, 5.0.0"
// 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 | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Universal Windows Platform | uap uap10.0 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETCoreApp 3.1
- Microsoft.Extensions.Configuration.Abstractions (>= 3.1.0)
- Microsoft.Extensions.Logging (>= 3.1.0)
- NLog (>= 5.0.0)
-
.NETFramework 4.6.1
- Microsoft.Extensions.Configuration.Abstractions (>= 2.1.0)
- Microsoft.Extensions.Logging (>= 2.1.0)
- NLog (>= 5.0.0)
-
.NETStandard 1.3
- Microsoft.Extensions.Configuration.Abstractions (>= 1.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 1.0.0)
- NETStandard.Library (>= 1.6.0)
- NLog (>= 5.0.0)
-
.NETStandard 1.5
- Microsoft.Extensions.Configuration.Abstractions (>= 1.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 1.0.0)
- NETStandard.Library (>= 1.6.0)
- NLog (>= 5.0.0)
-
.NETStandard 2.0
- Microsoft.Extensions.Configuration.Abstractions (>= 2.1.0)
- Microsoft.Extensions.Logging (>= 2.1.0)
- NLog (>= 5.0.0)
-
net5.0
- Microsoft.Extensions.Configuration.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Logging (>= 5.0.0)
- NLog (>= 5.0.0)
NuGet packages (204)
Showing the top 5 NuGet packages that depend on NLog.Extensions.Logging:
Package | 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 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+ |
|
NLog.Extensions.Hosting
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 (41)
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 工具箱。
|
|
Radarr/Radarr
A fork of Sonarr to work with movies à la Couchpotato.
|
|
fanliang11/surging
Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. support Event-based Asynchronous Pattern and reactive programming ,The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM
|
|
Lidarr/Lidarr
Looks and smells like Sonarr but made for music.
|
Version | Downloads | Last updated |
---|---|---|
5.0.0 | 25,538 | 5/17/2022 |
5.0.0-rc2 | 60,484 | 1/19/2022 |
5.0.0-rc1 | 39,804 | 12/20/2021 |
5.0.0-preview.3 | 26,413 | 10/26/2021 |
5.0.0-preview.2 | 2,224 | 10/3/2021 |
5.0.0-preview.1 | 1,901 | 8/28/2021 |
1.7.4 | 3,948,531 | 8/25/2021 |
1.7.3 | 1,489,142 | 6/15/2021 |
1.7.2 | 3,337,240 | 3/26/2021 |
1.7.1 | 1,155,950 | 2/26/2021 |
1.7.0 | 2,127,326 | 12/29/2020 |
1.6.5 | 1,849,295 | 8/27/2020 |
1.6.4 | 4,942,563 | 5/20/2020 |
1.6.3 | 254,658 | 5/11/2020 |
1.6.2 | 4,933,488 | 3/16/2020 |
1.6.1 | 2,427,308 | 10/19/2019 |
1.6.0 | 5,479,990 | 10/7/2019 |
1.5.4 | 1,349,147 | 9/6/2019 |
1.5.3 | 127,053 | 8/28/2019 |
1.5.2 | 581,061 | 7/14/2019 |
1.5.1 | 2,187,766 | 6/5/2019 |
1.5.0 | 918,791 | 4/30/2019 |
1.4.0 | 3,472,924 | 1/16/2019 |
1.3.0 | 2,833,632 | 9/22/2018 |
1.2.1 | 963,134 | 8/5/2018 |
1.2.0 | 198,462 | 7/20/2018 |
1.1.0 | 426,548 | 5/25/2018 |
1.0.2 | 1,734,940 | 5/10/2018 |
1.0.1 | 620,745 | 4/7/2018 |
1.0.0 | 497,841 | 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