<PackageReference Include="NLog" Version="6.1.4" />

NLog 6.1.4

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.1.4</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:

- [#6225] AsyncTaskTarget - Fixed bug when using BatchSize=1 and doing explicit flush and next LogEvent fails. (@snakefoot)
- [#6206] MruCache - Changed to ConcurrentDictionary but still single writer. (@snakefoot)
- [#6205] TargetWithFilterChain - Increase CallSite MaxCapacity from 1000 to 2000. (@snakefoot)
- [#6197] JsonAttribute - New constructor with JsonLayout and Encode = false. (@snakefoot)
- [#6174] Reduce AOT file-size by changing PropertyTypeConverter to avoid Dictionary for conversion mapping. (@snakefoot)
- [#6177] Reduce AOT file-size by changing LogFactory PurgeObsoleteLoggers to clone Dictionary instead of ToList. (@snakefoot)
- [#6185] Reduce AOT file-size by changing to use yield instead of Linq. (@snakefoot)
- [#6188] Reduce AOT file-size by changing ConfigurationItemFactory from Dictionary to Array of PropertyInfo. (@snakefoot)
- [#6192] Reduce AOT file-size by changing Target FindAllLayouts to use HashSet instead of Linq Distinct. (@snakefoot)
- [#6193] Reduce AOT file-size by changing XmlLoggingConfiguration AutoReloadFileNames to use yield instead of Linq. (@snakefoot)
- [#6195] Reduce AOT file-size by changing LoggingConfiguration CheckUnusedTargets to use HashSet instead of Linq. (@snakefoot)
- [#6204] TemplateEnumerator - Replace LiteralHole with CurrentHole and CurrentLiteral. (@snakefoot)
- [#6223] XmlParser - ReadUntilChar avoid extra string-allocation on trim InnerText. (@snakefoot)
- [#6222] XmlParser - Simplify ReadUntilChar by extracting parse of attribute-name into ReadEntityName. (@snakefoot)
- [#6209] AppVeyor - Visual Studio 2026. (@snakefoot)
- [#6199] Fixed nullable warnings from Activator.CreateInstance. (@snakefoot)
- [#6190] SetupConfigurationTargetBuilder - Fix Sonar Code Smell. (@snakefoot)
- [#6176] TryNLogSpecificConversion - Refactor parsing Layout from string. (@snakefoot)
- [#6210] ScopeContext - Fix List capacity for GetAllNestedStates. (@jnyrup)
- [#6211] ScopeContext - Renamed PushNestedState to CollectNestedState. (@snakefoot)
- [#6214] ScopeContext - Rename CaptureNestedContext to CloneNestedContext. (@snakefoot)
- [#6216] ScopeContext - Simplify CaptureContextProperties when only nested state. (@snakefoot)
- [#6217] ScopeContext - Unify CollectNestedState implementation. (@snakefoot)

NLog v6.0 release notes: https://nlog-project.org/2025/04/29/nlog-6-0-major-changes.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="a342b92bf5382f108133296098348691f2f29fb1" />
    <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>