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 |
|---|---|
|
Castle.Core
Core of the castle project
|
49 |
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.6 | 8 | 11/13/2025 |
| 6.0.5 | 15 | 10/11/2025 |
| 6.0.4 | 13 | 09/19/2025 |
| 6.0.3 | 12 | 09/20/2025 |
| 6.0.2 | 10 | 09/23/2025 |
| 6.0.1 | 12 | 09/20/2025 |
| 6.0.0 | 12 | 09/20/2025 |
| 6.0.0-rc1 | 23 | 05/28/2025 |
| 6.0.0-preview1 | 14 | 05/01/2025 |
| 5.5.1 | 14 | 09/20/2025 |
| 5.5.0 | 11 | 05/30/2025 |
| 5.4.0 | 27 | 02/05/2025 |
| 5.3.4 | 29 | 09/13/2024 |
| 5.3.3 | 33 | 08/14/2024 |
| 5.3.2 | 40 | 05/02/2024 |
| 5.3.1 | 36 | 05/02/2024 |
| 5.2.8 | 41 | 02/10/2024 |
| 5.2.7 | 38 | 12/02/2023 |
| 5.2.6 | 39 | 11/20/2023 |
| 5.2.5 | 39 | 10/21/2023 |
| 5.2.4 | 35 | 09/08/2023 |
| 5.2.3 | 47 | 09/09/2023 |
| 5.2.2 | 46 | 07/12/2023 |
| 5.2.1 | 38 | 09/09/2023 |
| 5.2.0 | 43 | 06/21/2023 |
| 5.1.5 | 35 | 06/21/2023 |
| 5.1.4 | 42 | 06/07/2023 |
| 5.1.3 | 58 | 05/28/2023 |
| 5.1.2 | 43 | 06/21/2023 |
| 5.1.1 | 34 | 06/21/2023 |
| 5.1.0 | 62 | 05/28/2023 |
| 5.0.5 | 44 | 06/05/2023 |
| 5.0.4 | 46 | 09/08/2022 |
| 5.0.3 | 42 | 09/09/2022 |
| 5.0.2 | 44 | 09/10/2022 |
| 5.0.1 | 57 | 09/09/2022 |
| 5.0.0 | 41 | 09/09/2022 |
| 4.7.15 | 50 | 09/10/2022 |
| 4.7.14 | 43 | 09/08/2022 |
| 4.7.13 | 38 | 09/08/2022 |
| 4.7.12 | 41 | 09/10/2022 |
| 4.7.11 | 34 | 09/08/2022 |
| 4.7.10 | 40 | 09/14/2022 |
| 4.7.9 | 51 | 09/09/2022 |
| 4.7.8 | 62 | 09/09/2022 |
| 4.7.7 | 59 | 09/09/2022 |
| 4.7.6 | 36 | 09/08/2022 |
| 4.7.5 | 46 | 09/11/2022 |
| 4.7.4 | 47 | 09/10/2022 |
| 4.7.3 | 49 | 09/08/2022 |
| 4.7.2 | 58 | 09/08/2022 |
| 4.7.1 | 43 | 09/09/2022 |
| 4.7.0 | 41 | 09/09/2022 |
| 4.6.8 | 48 | 09/09/2022 |
| 4.6.7 | 43 | 09/10/2022 |
| 4.6.6 | 48 | 09/08/2022 |
| 4.6.5 | 44 | 09/08/2022 |
| 4.6.4 | 74 | 09/09/2022 |
| 4.6.3 | 62 | 09/08/2022 |
| 4.6.2 | 48 | 09/09/2022 |
| 4.6.1 | 43 | 09/11/2022 |
| 4.6.0 | 38 | 09/10/2022 |
| 4.5.11 | 53 | 09/09/2022 |
| 4.5.10 | 50 | 09/11/2022 |
| 4.5.9 | 60 | 09/09/2022 |
| 4.5.8 | 49 | 09/11/2022 |
| 4.5.7 | 34 | 09/09/2022 |
| 4.5.6 | 49 | 09/07/2022 |
| 4.5.5 | 41 | 09/08/2022 |
| 4.5.4 | 40 | 09/10/2022 |
| 4.5.3 | 50 | 09/09/2022 |
| 4.5.2 | 34 | 09/10/2022 |
| 4.5.1 | 34 | 09/10/2022 |
| 4.5.0 | 39 | 09/11/2022 |
| 4.4.13 | 45 | 09/11/2022 |
| 4.4.12 | 43 | 09/10/2022 |
| 4.4.11 | 36 | 09/11/2022 |
| 4.4.10 | 37 | 09/12/2022 |
| 4.4.9 | 52 | 09/10/2022 |
| 4.4.8 | 44 | 09/12/2022 |
| 4.4.7 | 45 | 09/09/2022 |
| 4.4.6 | 50 | 09/10/2022 |
| 4.4.5 | 63 | 09/09/2022 |
| 4.4.4 | 36 | 09/09/2022 |
| 4.4.3 | 37 | 09/08/2022 |
| 4.4.2 | 48 | 09/10/2022 |
| 4.4.1 | 43 | 09/10/2022 |
| 4.4.0 | 56 | 09/10/2022 |
| 4.3.11 | 47 | 09/08/2022 |
| 4.3.10 | 46 | 09/08/2022 |
| 4.3.9 | 36 | 09/10/2022 |
| 4.3.8 | 32 | 09/08/2022 |
| 4.3.7 | 46 | 09/10/2022 |
| 4.3.6 | 46 | 09/08/2022 |
| 4.3.5 | 47 | 09/10/2022 |
| 4.3.4 | 68 | 09/10/2022 |
| 4.3.3 | 46 | 09/09/2022 |
| 4.3.2 | 50 | 09/08/2022 |
| 4.3.1 | 42 | 09/10/2022 |
| 4.3.0 | 31 | 09/10/2022 |
| 4.2.3 | 53 | 09/09/2022 |
| 4.2.2 | 62 | 09/11/2022 |
| 4.2.1 | 32 | 09/11/2022 |
| 4.2.0 | 44 | 09/10/2022 |
| 4.1.2 | 41 | 09/11/2022 |
| 4.1.1 | 44 | 09/07/2022 |
| 4.1.0 | 65 | 09/09/2022 |
| 4.0.1 | 60 | 09/08/2022 |
| 4.0.0 | 48 | 09/09/2022 |
| 3.2.1 | 40 | 09/10/2022 |
| 3.2.0 | 52 | 09/09/2022 |
| 3.1.0 | 55 | 09/10/2022 |
| 3.0.0 | 56 | 09/08/2022 |
| 2.1.0 | 42 | 09/11/2022 |
| 2.0.1.2 | 32 | 09/09/2022 |
| 2.0.0.2000 | 49 | 09/10/2022 |
| 1.0.0.505 | 40 | 09/09/2022 |