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
dotnet add package NLog --version 5.1.1
Install-Package NLog -Version 5.1.1
| 包名 | 版本要求 |
|---|---|
| NETStandard.Library | [1.6.0, ) |
| System.ComponentModel.Primitives | [4.3.0, ) |
| System.ComponentModel.TypeConverter | [4.3.0, ) |
| System.Data.Common | [4.3.0, ) |
| System.Diagnostics.StackTrace | [4.3.0, ) |
| System.Net.Http | [4.3.4, ) |
| System.Net.NameResolution | [4.3.0, ) |
| System.Net.Requests | [4.3.0, ) |
| System.Reflection.TypeExtensions | [4.3.0, ) |
| System.Text.RegularExpressions | [4.3.1, ) |
| System.Xml.XmlDocument | [4.3.0, ) |
| 包名 | 版本要求 |
|---|---|
| NETStandard.Library | [1.6.0, ) |
| System.ComponentModel.Primitives | [4.3.0, ) |
| System.ComponentModel.TypeConverter | [4.3.0, ) |
| System.Data.Common | [4.3.0, ) |
| System.Diagnostics.Process | [4.3.0, ) |
| System.Diagnostics.StackTrace | [4.3.0, ) |
| System.Diagnostics.TraceSource | [4.3.0, ) |
| System.IO.FileSystem.Watcher | [4.3.0, ) |
| System.Net.Http | [4.3.4, ) |
| System.Net.NameResolution | [4.3.0, ) |
| System.Net.Requests | [4.3.0, ) |
| System.Reflection.TypeExtensions | [4.3.0, ) |
| System.Runtime.Loader | [4.3.0, ) |
| System.Text.RegularExpressions | [4.3.1, ) |
| System.Threading.Thread | [4.3.0, ) |
| System.Xml.XmlDocument | [4.3.0, ) |
| 作者 | Jarek Kowalski,Kim Christensen,Julian Verdurmen |
|---|---|
| 发布时间 | 2022-12-29 23:17:37 |
| 项目主页 | https://nlog-project.org/ |
| 许可证 | https://www.nuget.org/packages/NLog/5.1.1/license |