Skip to main content

NLog is a logging platform for .NET with rich log routing and management capabilities. NLog supports traditional logging, structured logging and the combination of both. Supported platforms: - .NET 5, 6 and 7 - .NET Core 1, 2 and 3 - .NET Standard 1.3+ and 2.0+ - .NET Framework 3.5 - 4.8 - Xamarin Android + iOS (.NET Standard) - Mono 4 For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore

Total Downloads
609.1M
609,148,431
Published
Aug 5, 2023
Latest stable version

Install

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

Frameworks

.NETFramework3.5 .NETFramework4.5 .NETFramework4.6 .NETStandard1.3 .NETStandard1.5 .NETStandard2.0

Dependencies

NETStandard.Library
.NETStandard1.3
[1.6.0, )
[4.3.0, )
[4.3.0, )
System.Data.Common
.NETStandard1.3
[4.3.0, )
[4.3.0, )
System.Net.Http
.NETStandard1.3
[4.3.4, )
[4.3.0, )
System.Net.Requests
.NETStandard1.3
[4.3.0, )
[4.3.0, )
[4.3.1, )
System.Xml.XmlDocument
.NETStandard1.3
[4.3.0, )
NETStandard.Library
.NETStandard1.5
[1.6.0, )
[4.3.0, )
[4.3.0, )
System.Data.Common
.NETStandard1.5
[4.3.0, )
[4.3.0, )
[4.3.0, )
[4.3.0, )
[4.3.0, )
System.Net.Http
.NETStandard1.5
[4.3.4, )
[4.3.0, )
System.Net.Requests
.NETStandard1.5
[4.3.0, )
[4.3.0, )
System.Runtime.Loader
.NETStandard1.5
[4.3.0, )
[4.3.1, )
[4.3.0, )
System.Xml.XmlDocument
.NETStandard1.5
[4.3.0, )

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 6 target frameworks; confirm the exact target used by your application.

The published metadata declares 27 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

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.