NLog 6.1.3
Prefix Reserveddotnet add package NLog --version 6.1.3
NuGet\Install-Package NLog -Version 6.1.3
<PackageReference Include="NLog" Version="6.1.3" />
<PackageVersion Include="NLog" Version="6.1.3" />
<PackageReference Include="NLog" />
paket add NLog --version 6.1.3
#r "nuget: NLog, 6.1.3"
#:package NLog@6.1.3
#addin nuget:?package=NLog&version=6.1.3
#tool nuget:?package=NLog&version=6.1.3
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 6, 7, 8, 9 and 10
- .NET Standard 2.0 and 2.1
- .NET Framework 3.5 - 4.8
- Xamarin Android + iOS (.NET Standard)
- Mono 4
For integrating NLog with Microsoft.Extensions.Logging, check: NLog.Extensions.Logging
For using NLog with ASP.NET Core, check: NLog.Web.AspNetCore
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. 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. 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 | net35 is compatible. net40 was computed. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 is compatible. net461 was computed. 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 | 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. |
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETFramework 4.6
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
NuGet packages (2.9K)
Showing the top 5 NuGet packages that depend on NLog:
| Package | Downloads |
|---|---|
|
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore |
|
|
NLog.Config
NLog.config file to get started with configuring NLog. This package is not mandatory to get started with NLog: the configuration file can created manually (read specs here: https://github.com/NLog/NLog/wiki/Configuration-file) or the configuration can be created programmatically. (read more here: https://github.com/NLog/NLog/wiki/Configuration-API) Note: Unfortunately this package won't work well when using <PackageReference> Advised to: - download manually: https://raw.githubusercontent.com/NLog/NLog/v4.4/src/NuGet/NLog.Config/content/NLog.config - set "Copy To Output Directory" to "Copy if newer" |
|
|
Microsoft.ApplicationInsights.NLogTarget
Application Insights NLog Target is a custom target allowing you to send NLog log messages to Application Insights. Application Insights will collect your logs from multiple sources and provide rich powerful search capabilities. Privacy statement: https://go.microsoft.com/fwlink/?LinkId=512156 |
|
|
NLog.Web
NLog logging for ASP.NET and ASP.NET MVC. Includes targets and layout renderers for websites and web applications. This package is for ASP.NET 3.5+ For ASP.NET Core: Check https://www.nuget.org/packages/NLog.Web.AspNetCore |
|
|
AWS.Logger.NLog
An AWS NLog target that records logging messages to Amazon CloudWatch Logs. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.1.3 | 1,764,216 | 5/4/2026 |
| 6.1.2 | 970,986 | 4/1/2026 |
| 6.1.1 | 2,442,830 | 2/28/2026 |
| 6.1.0 | 1,491,483 | 1/31/2026 |
| 6.0.7 | 2,239,799 | 12/9/2025 |
| 6.0.6 | 2,772,683 | 11/9/2025 |
| 6.0.5 | 1,697,953 | 10/9/2025 |
| 6.0.4 | 1,460,444 | 9/11/2025 |
| 6.0.3 | 2,967,921 | 8/10/2025 |
| 6.0.2 | 1,343,322 | 7/20/2025 |
| 6.0.1 | 1,081,102 | 6/27/2025 |
| 6.0.0 | 810,275 | 6/21/2025 |
| 5.5.1 | 3,760,253 | 7/18/2025 |
| 5.5.0 | 5,269,874 | 5/29/2025 |
| 5.4.0 | 16,130,054 | 2/2/2025 |
Changelog:
- [#6168] PropertiesDictionary - Preserve MessageTemplate property details when adding extra properties. (@snakefoot)
- [#6149] LoggingRule - Updating FinalMinLevel should also update MinLevel when same LogLevel. (@snakefoot)
- [#6165] AsyncTaskTarget - Retry with help from Task.Delay. (@snakefoot)
- [#6164] DateLayoutRenderer - UniversalTime = false should only convert to local when UTC. (@snakefoot)
- [#6138] SimpleLayout skip Precalculate when INoAllocationStringValueRenderer available. (@reabr)
- [#6158] TemplateEnumerator - Optimize ParseTextPart by direct calling IndexOfAny. (@snakefoot)
- [#6152] TemplateEnumerator - Optimize parsing of single digit holename. (@snakefoot)
- [#6142] InternalLogger - Skip allocating params array when no exception. (@snakefoot)
- [#6145] InternalLogger - Handle Exception ToString can throw with AOT. (@snakefoot)
- [#6154] ColoredConsoleTarget - Optimize Console Coloring for Word Highlight. (@snakefoot)
- [#6159] ColoredConsoleTarget - Reset capture of previous colors after ResetDefaultColors. (@snakefoot)
- [#6140] TryParseEnum - Apply Enum.TryParse since better for AOT. (@snakefoot)
- [#6143] Fixed various issues reported by EnableNETAnalyzers. (@snakefoot)
NLog v6.0 release notes: https://nlog-project.org/2025/04/29/nlog-6-0-major-changes.html
Full changelog: https://github.com/NLog/NLog/releases
For all config options and platform support, check https://nlog-project.org/config/