NLog 4.7.7

.NET Standard 1.3 .NET Framework 3.5
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.

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

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net35 net40 net40-client net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid monoandroid44
MonoMac monomac
MonoTouch monotouch
Silverlight sl4 sl5
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wp8 wp81
Xamarin.iOS xamarinios xamarinios10
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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 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

## 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/