NLog 6.0.2

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 5, 6, 7, 8 and 9 - .NET Standard 2.0 and 2.1 - .NET Framework 3.5 - 4.8 - Xamarin Android + iOS (.NET Standard) - Mono 4 For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore

Showing the top 20 packages that depend on NLog.

Packages Downloads
NLog.Extensions.Logging
NLog provider for Microsoft.Extensions.Logging for usage in .NET Standard libraries and console applicaties. For ASP.NET Core, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.Web.AspNetCore
7
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
7
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
6
NLog.Extensions.Logging
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.Web.AspNetCore
6
NLog.Extensions.Logging
NLog provider for Microsoft.Extensions.Logging for usage in .NET Standard libraries and console applicaties. For ASP.NET Core, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.Web.AspNetCore
6

Changelog: - (#5930) XmlParser - Handle XML comments after root-end-tag. (@snakefoot) - (#5929) XmlLoggingConfiguration - Improve handling of invalid XML. (@snakefoot) - (#5933) Handle invalid message template when skipping parameters array. (@snakefoot) - (#5915) ReplaceNewLinesLayoutRendererWrapper - Replace more line ending characters. (@oikku) - (#5911) NLog.Targets.GZipFile - Improve support for ArchiveAboveSize. (@snakefoot) - (#5921) FileTarget - Activate legacy ArchiveFileName when ArchiveSuffixFormat contains legacy placeholder. (@snakefoot) - (#5924) AsyncTargetWrapper - Updated FullBatchSizeWriteLimit default value from 5 to 10. (@snakefoot) - (#5937) Mark Assembly loading with RequiresUnreferencedCodeAttribute for AOT. (@snakefoot) - (#5938) Logger - Align WriteToTargets with WriteToTargetsWithSpan. (@snakefoot) - (#5909) ConfigurationItemFactory - Added extension hints for webservice and activityid. (@snakefoot) - (#5918) Log4JXmlTarget - Removed alias NLogViewer as conflicts with other nuget-packages. (@snakefoot) - (#5926) SplunkTarget - NetworkTarget with SplunkLayout. (@snakefoot) - (#5927) GelfLayout - Align with SplunkLayout. (@snakefoot) - (#5913) NLog.Targets.Network - Updated nuget-package README.md. (@snakefoot) - (#5912) NLog.Targets.Trace - Updated nuget-package README.md. (@snakefoot) - (#5919) XML docs for Targets and Layouts with remarks about default value. (@snakefoot) - (#5922) XML docs for LayoutRenderers with remarks about default value. (@snakefoot) - (#5925) XML docs for Target Wrappers with remarks about default value. (@snakefoot) - (#5935) Improve NLog XSD Schema with better handling of typed Layout. (@snakefoot) - (#5923) Updated unit-tests from NET6 to NET8. (@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/

.NET Framework 3.5

  • No dependencies.

.NET Framework 4.5

  • No dependencies.

.NET Framework 4.6

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

.NET Standard 2.1

  • No dependencies.

Version Downloads Last updated
6.0.2 6 08/10/2025
6.0.0-rc4 5 08/11/2025
6.0.0-rc3 5 08/11/2025
6.0.0-rc2 5 08/11/2025
6.0.0-rc1 5 08/11/2025
6.0.0-preview1 5 08/11/2025
5.3.4 4 07/09/2025
5.2.5 4 07/11/2025
5.0.4 4 07/12/2025
4.7.15 5 08/10/2025
4.7.14 5 08/10/2025
4.7.13 5 08/10/2025
4.7.12 5 08/10/2025
4.7.11 5 08/10/2025
4.7.10 5 08/10/2025
4.5.11 5 08/10/2025
4.5.10 5 08/10/2025
4.4.13 5 08/10/2025
4.4.12 5 08/10/2025
4.4.11 5 08/10/2025
4.4.10 5 08/10/2025
4.3.11 5 08/10/2025
4.3.10 5 08/10/2025
2.0.1.2 5 08/10/2025
2.0.0.2000 5 08/11/2025
1.0.0.505 4 08/10/2025