NLog 4.7.5

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 & 4.8
- .NET Core 1, 2 and 3
- .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.7.5
dotnet add package NLog --version 4.7.5
<PackageReference Include="NLog" Version="4.7.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NLog --version 4.7.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NLog, 4.7.5"
#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.7.5

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

Release Notes

## Bugfixes
- FileTarget - New current file should write start header, when archive operation is performed on previous file (#4106) (@snakefoot)

## Improvements
- LoggingConfiguration - ValidateConfig should only throw when enabled (#4102) (@snakefoot)
- Fix VerificationException Operation could destabilize the runtime (#4114) (@snakefoot)

## Performance
- Removed EmptyDefaultDictionary from MappedDiagnosticsContext (#4115) (@snakefoot)

## Other
- Fix root .editorconfig to use end_of_line = CRLF. Remove local .editorconfig (#4109) (@snakefoot)
- Improve docs (#4097) (@304NotModified)
     
Full changelog: https://github.com/NLog/NLog/blob/master/CHANGELOG.md

For all config options and platform support, check https://nlog-project.org/config/

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