NLog 6.2.1
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 6, 7, 8, 9 and 10 - .NET Standard 2.0 and 2.1 - .NET Framework 3.5 - 4.8 - Xamarin Android + iOS (.NET Standard) - Mono 4 For integrating NLog with Microsoft.Extensions.Logging, check: https://www.nuget.org/packages/NLog.Extensions.Logging For using NLog with ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>NLog</id>
<version>6.2.1</version>
<title>NLog for .NET Framework and .NET Standard</title>
<authors>Jarek Kowalski,Kim Christensen,Julian Verdurmen</authors>
<license type="expression">BSD-3-Clause</license>
<licenseUrl>https://licenses.nuget.org/BSD-3-Clause</licenseUrl>
<icon>N.png</icon>
<projectUrl>https://nlog-project.org/</projectUrl>
<description>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 6, 7, 8, 9 and 10
- .NET Standard 2.0 and 2.1
- .NET Framework 3.5 - 4.8
- Xamarin Android + iOS (.NET Standard)
- Mono 4
For integrating NLog with Microsoft.Extensions.Logging, check: https://www.nuget.org/packages/NLog.Extensions.Logging
For using NLog with ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore</description>
<releaseNotes>Changelog:
- [#6254] Replace System.Random usage with custom ScatterGenerator. (@jobvk)
- [#6267] JsonLayout - Escape lone surrogates so output stays valid UTF8. (@dylanpulver)
- [#6275] XML docs with Default value for class properties in Filters namespace. (@dualfroz)
- [#6276] XML docs with Default value for class properties with unit test. (@snakefoot)
- [#6265] AtomicFileTarget - Improve recovery when file suddenly disappears. (@snakefoot)
- [#6266] JsonLayout - Explicit assigned SuppressSpaces should win. (@snakefoot)
- [#6271] DefaultJsonSerializer - Refactor AppendStringEscape to make method simpler. (@snakefoot)
- [#6268] XmlHelper - Replace with char.IsHighSurrogate + char.IsLowSurrogate. (@snakefoot)
- [#6269] XmlHelper - Improve CDATA encoding when first char is invalid. (@snakefoot)
- [#6273] XmlHelper - Check char.IsHighSurrogate before checking length. (@snakefoot)
- [#6251] LogManager - Remove CLSCompliant(false) attribute from GetCurrentClassLogger. (@snakefoot)
- [#6255] NLog.Schema - NLog.Targets.HttpClient + NLog.Targets.OpenTelemetryHttp. (@snakefoot)
- [#6261] XmlParser - Moved primitive parsing logic into InputCursor. (@snakefoot)
- [#6264] XmlParser - Optimize parsing of Attributes and InnerText and CDATA. (@snakefoot)
- [#6280] Layout - FromLiteral is IsInitialized from the start and ThreadAgnostic. (@snakefoot)
NLog v6.2 release notes: https://nlog-project.org/2026/08/16/nlog-6-2-aot-build-size.html
Full changelog: https://github.com/NLog/NLog/releases
For all config options and platform support, check https://nlog-project.org/config/</releaseNotes>
<copyright>Copyright (c) 2004-2026 NLog Project - https://nlog-project.org/</copyright>
<tags>NLog logging log structured tracing logfiles database eventlog console</tags>
<repository type="git" url="https://github.com/NLog/NLog.git" commit="b058028290f245d12c30cb2910c2a574558ed9c6" />
<dependencies>
<group targetFramework=".NETFramework3.5" />
<group targetFramework=".NETFramework4.5" />
<group targetFramework=".NETFramework4.6" />
<group targetFramework=".NETStandard2.0" />
<group targetFramework=".NETStandard2.1" />
</dependencies>
<frameworkAssemblies>
<frameworkAssembly assemblyName="System.Configuration" targetFramework=".NETFramework3.5, .NETFramework4.5, .NETFramework4.6" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework3.5, .NETFramework4.5, .NETFramework4.6" />
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework3.5, .NETFramework4.5, .NETFramework4.6" />
<frameworkAssembly assemblyName="System.Xml" targetFramework=".NETFramework3.5, .NETFramework4.5, .NETFramework4.6" />
</frameworkAssemblies>
</metadata>
</package>