Skip to main content
NLog.Extensions.Hosting package icon

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

Total Downloads
6.1M
6,107,128
Published
Jul 20, 2025
Latest stable version

Install

.NET CLI
dotnet add package NLog.Extensions.Hosting --version 6.0.2
Package Manager Console
Install-Package NLog.Extensions.Hosting -Version 6.0.2
PackageReference
<PackageReference Include="NLog.Extensions.Hosting" Version="6.0.2" />

Frameworks

.NETFramework4.6.2 net6.0 net8.0 .NETStandard2.0 .NETStandard2.1

Dependencies

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.