Info
Version: | 5.3.4 |
Author(s): | Jarek Kowalski, Kim Christensen, Julian Verdurmen |
Last Update: | Thursday, September 12, 2024 |
.NET Fiddle: | Online Example |
Project Url: | https://nlog-project.org/ |
NuGet Url: | https://www.nuget.org/packages/NLog |
Install
Install-Package NLog
dotnet add package NLog
paket add NLog
NLog Download (Unzip the "nupkg" after downloading)
Dependencies
.NETFramework 3.5
No dependencies.
No dependencies.
No dependencies.
- Microsoft.Extensions.PlatformAbstractions(>= 1.0.0)
- NETStandard.Library(>= 1.6.0)
- System.ComponentModel.Primitives(>= 4.1.0)
- System.ComponentModel.TypeConverter(>= 4.1.0)
- System.Data.Common(>= 4.1.0)
- System.Diagnostics.StackTrace(>= 4.0.1)
- System.Net.NameResolution(>= 4.0.0)
- System.Net.Requests(>= 4.0.11)
- System.Reflection.TypeExtensions(>= 4.1.0)
- System.Xml.XmlDocument(>= 4.0.1)
No dependencies.
No dependencies.
- NETStandard.Library(>= 1.6.0)
- System.ComponentModel.Primitives(>= 4.1.0)
- System.ComponentModel.TypeConverter(>= 4.1.0)
- System.Data.Common(>= 4.1.0)
- System.Diagnostics.Process(>= 4.1.0)
- System.Diagnostics.StackTrace(>= 4.0.1)
- System.Diagnostics.TraceSource(>= 4.0.0)
- System.IO.FileSystem.Watcher(>= 4.0.0)
- System.Net.NameResolution(>= 4.0.0)
- System.Net.Requests(>= 4.0.11)
- System.Reflection.TypeExtensions(>= 4.1.0)
- System.Runtime.Loader(>= 4.0.0)
- System.Threading.Thread(>= 4.0.0)
- System.Xml.XmlDocument(>= 4.0.1)
No dependencies.
No dependencies.
No dependencies.
No dependencies.
Tags
NLog supports traditional logging, structured logging and the combination of both.
Supported platforms:
- .NET 5, 6, 7 and 8
- .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.