NLog 4.5.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 Framework 3.5, 4, 4.5, 4.6 & 4.7
- .NET Standard 1.3+ and 2.0+;
- .NET Framework 4 client profile
- Xamarin Android, Xamarin iOs
- UWP
- Windows Phone 8
- Silverlight 4 and 5
- Mono 4

For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore

There is a newer version of this package available.
See the version list below for details.
Install-Package NLog -Version 4.5.3
dotnet add package NLog --version 4.5.3
<PackageReference Include="NLog" Version="4.5.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NLog --version 4.5.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NLog, 4.5.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install NLog as a Cake Addin
#addin nuget:?package=NLog&version=4.5.3

// Install NLog as a Cake Tool
#tool nuget:?package=NLog&version=4.5.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Fixes:

- [#2662](https://github.com/nlog/nlog/pull/2662) FileTarget - Improve handling of archives with multiple active files (@snakefoot)

Enhancements:

- [#2587](https://github.com/nlog/nlog/pull/2587) Internal Log - Include target type and target name in the log messages (@snakefoot)
- [#2651](https://github.com/nlog/nlog/pull/2651) Searching for NLog Extension Files should handle DirectoryNotFoundException  (@snakefoot)

Performance:

- [#2653](https://github.com/nlog/nlog/pull/2653) LayoutRenderer ThreadSafe Attribute introduced to allow lock free Precalculate + other small performance improvements (@snakefoot)



for full changelog, check https://github.com/NLog/NLog/blob/master/CHANGELOG.md

for what is supported in each platform, see https://github.com/NLog/NLog/wiki/platform-support

NuGet packages (2)

Showing the top 2 NuGet packages that depend on NLog:

Package Downloads
Common.Logging.NLog40
Common.Logging library bindings for NLog 4.0 logging framework.
NLog.Config
Xml file to get started with configuring NLog. This package is not mandatory to get started with NLog: the configuration file can created manually and the configuration can be created programmatically.

Version History

Version Downloads Last updated
4.7.7 0 06.02.2022
4.7.5 0 06.02.2022
4.5.3 0 06.02.2022
4.4.4 0 06.02.2022
4.4.3 0 06.02.2022
4.3.4 0 06.02.2022
2.0.0.2000 0 06.02.2022