NLog.Extensions.Hosting 6.0.0-rc3

Prefix Reserved
This is a prerelease version of NLog.Extensions.Hosting.
dotnet add package NLog.Extensions.Hosting --version 6.0.0-rc3
                    
NuGet\Install-Package NLog.Extensions.Hosting -Version 6.0.0-rc3
                    
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.Hosting" Version="6.0.0-rc3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NLog.Extensions.Hosting" Version="6.0.0-rc3" />
                    
Directory.Packages.props
<PackageReference Include="NLog.Extensions.Hosting" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NLog.Extensions.Hosting --version 6.0.0-rc3
                    
#r "nuget: NLog.Extensions.Hosting, 6.0.0-rc3"
                    
#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.
#addin nuget:?package=NLog.Extensions.Hosting&version=6.0.0-rc3&prerelease
                    
Install NLog.Extensions.Hosting as a Cake Addin
#tool nuget:?package=NLog.Extensions.Hosting&version=6.0.0-rc3&prerelease
                    
Install NLog.Extensions.Hosting as a Cake Tool

NLog.Extensions.Hosting

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Integrates NLog as Logging provider for Microsoft.Extensions.Logging, by just calling UseNLog() on the application-IHostBuilder.

Providing features like:

If using ASP.NET Core then check NLog.Web.AspNetCore.

Supported platforms:

  • .NET 5, 6, 7, 8 and 9
  • .NET Core 2 and 3
  • .NET Standard 2.0 and 2.1

Registration of NLog as logging provider:

var hostBuilder = new HostBuilder().UseNLog();

Useful Links

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 is compatible.  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 tizen40 was computed.  tizen60 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 (11)

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

Package Downloads
Tsukiy0.Extensions.Logging.NLog

Package Description

Nuuvify.CommonPack.NLog

Implementação de Log customizado com NLog e ILogger

Sze.Base.Core

Package Description

ZhongzhouShaonian.Updater

提供软件更新程序的基础调用

imL.Frotcom.Hosting.Core

Not so free tools.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on NLog.Extensions.Hosting:

Repository Stars
NLog/NLog
NLog - Flexible and Structured Logging for Various .NET Platforms
Version Downloads Last updated
6.0.0-rc3 58 6/8/2025
6.0.0-rc2 136 6/2/2025
5.5.0 1,510 5/29/2025
5.4.0 34,791 2/2/2025
5.3.15 49,377 11/21/2024
5.3.14 65,097 9/23/2024
5.3.13 7,937 9/12/2024
5.3.12 36,527 8/12/2024
5.3.11 93,610 5/7/2024
5.3.10 9,139 4/30/2024
5.3.9 1,847 4/27/2024
5.3.8 169,479 12/29/2023
5.3.7 42,028 12/6/2023
5.3.5 73,429 10/15/2023
5.3.4 41,221 9/6/2023
5.3.3 34,456 8/5/2023
5.3.2 56,832 7/4/2023
5.3.1 4,398 7/1/2023
5.3.0 65,367 5/30/2023
5.2.5 3,576 5/25/2023
5.2.3 47,594 3/28/2023
5.2.2 64,892 2/17/2023
5.2.1 96,785 12/29/2022
5.2.0 40,647 11/27/2022
5.1.0 79,490 10/25/2022
5.0.4 58,024 9/1/2022
5.0.3 1,417 8/31/2022
5.0.2 23,301 8/12/2022
5.0.1 42,024 6/23/2022
5.0.0 51,612 5/17/2022
1.7.5 38,664 6/4/2022
1.7.4 338,064 8/25/2021
1.7.3 119,462 6/15/2021
1.7.2 98,518 3/26/2021
1.7.1 36,070 2/26/2021
1.7.0 48,727 12/29/2020
1.6.5 53,452 8/27/2020
1.6.4 56,519 5/20/2020
1.6.3 1,730 5/11/2020
1.6.2 45,485 3/16/2020
1.6.1 62,870 10/19/2019
1.6.0 3,567 10/7/2019
1.5.4 19,093 9/6/2019
1.5.3 2,462 8/28/2019
1.5.2 13,022 7/14/2019
1.5.1 5,486 6/5/2019
1.5.0 5,052 4/30/2019
1.4.0 27,765 1/16/2019
1.3.0 32,360 9/22/2018
1.2.1 8,812 9/2/2018