NLog 4.7.7

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

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

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

Release Notes

## Bugfixes
- Skip lookup MainModule.FileName on Android platform to avoid crash (#4229) (@snakefoot)
- JsonLayout - Generate correct json for keys that contain quote (#4202) (@virgilp)
- JsonLayout - Unwind after invalid property value to avoid invalid Json (#4245) (@snakefoot)

## Improvements
- Better handling of low memory (#4222) (@snakefoot)
- JsonLayout - Added new ExcludeEmptyProperties to skip GDC/MDC/MLDC properties with null or empty values (#4221) (@pruiz)

## Performance
- Skip allocation of SingleCallContinuation when ThrowExceptions = false (#4207) (@snakefoot)
     
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