NLog 5.2.2
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
Showing the top 20 packages that depend on NLog.
Packages | Downloads |
---|---|
Sense.FSI.Socket
Package Description
|
149 |
Sense.Client.SDK
Sense客户端开发工具包
|
106 |
Sense.Client.SDK
Package Description
|
65 |
Castle.Core
Core of the castle project
|
43 |
Sense.Client.SDK
Sense客户端开发工具包
|
15 |
ChangeLog:
- ConfigurationItemFactory - Fix NullReferenceException when skipping already loaded assembly (#5276) (@snakefoot)
- WrapperTarget - Derive Name from wrappedTarget (#5248) (@snakefoot)
- Updated obsolete warning for ConfigurationReloaded-event (#5249) (@snakefoot)
- ConfigurationItemFactory - Notify when using reflection to resolve type (#5251) (@snakefoot)
- LoggingConfigurationParser - Create list items without using reflection (#5253) (@snakefoot)
- ConfigurationItemFactory - Include ConditionExpression in registration (#5254) (@snakefoot)
- LogFactory - Obsoleted GetLogger should not throw exceptions when invalid logger-type (#5255) (@snakefoot)
- ConfigurationItemFactory - Skip assembly-loading should also check prefix-option (#5257) (@snakefoot)
- ConfigurationItemFactory - Logging assembly-prefix when loading assembly (#5263) (@snakefoot)
- ILogger - Remove irrelevant StructuredMessageTemplateAttribute (#5266) (@saltukkos)
- ILogger - Updated obsolete warning for ErrorException-method and friends (#5267) (@snakefoot)
- LoggingConfigurationParser - TryGetEnumValue should throw when invalid string-value (#5269) (@snakefoot)
- ConfigurationItemFactory - Include ConditionMethods in registration (#5268) (@snakefoot)
- TargetWithContext - Fix InternalLogger output about Object reflection needed (#5273) (@snakefoot)
NLog v5.2 changes how to load extensions: https://nlog-project.org/2023/05/30/nlog-5-2-trim-warnings.html
List of major changes in NLog 5.0: https://nlog-project.org/2022/05/16/nlog-5-0-finally-ready.html
Full changelog: https://github.com/NLog/NLog/blob/master/CHANGELOG.md
For all config options and platform support, check https://nlog-project.org/config/
.NET Framework 3.5
- No dependencies.
.NET Standard 2.0
- No dependencies.
.NET Standard 1.5
- System.Xml.XmlDocument (>= 4.3.0)
- System.Threading.Thread (>= 4.3.0)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Runtime.Loader (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.3.0)
- System.Net.Requests (>= 4.3.0)
- System.Net.NameResolution (>= 4.3.0)
- System.Net.Http (>= 4.3.4)
- System.IO.FileSystem.Watcher (>= 4.3.0)
- System.Diagnostics.TraceSource (>= 4.3.0)
- System.Diagnostics.StackTrace (>= 4.3.0)
- System.Data.Common (>= 4.3.0)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- System.Diagnostics.Process (>= 4.3.0)
- NETStandard.Library (>= 1.6.0)
- System.ComponentModel.Primitives (>= 4.3.0)
.NET Framework 4.5
- No dependencies.
.NET Framework 4.6
- No dependencies.
.NET Standard 1.3
- NETStandard.Library (>= 1.6.0)
- System.ComponentModel.Primitives (>= 4.3.0)
- System.Data.Common (>= 4.3.0)
- System.Diagnostics.StackTrace (>= 4.3.0)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- 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)
- System.Net.Http (>= 4.3.4)