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.Targets.ElasticSearch
An NLog target that utilises the elasticsearch low level client.
55
NLog.Targets.ElasticSearch
NLog target for ElasticSearch
54
NLog.Targets.ElasticSearch
An NLog target that utilises the elasticsearch low level client.
53
NLog.Targets.ElasticSearch
NLog target for ElasticSearch
52
NLog.Targets.ElasticSearch
An NLog target that utilises the elasticsearch low level client.
52
NLog.Targets.ElasticSearch
NLog target for ElasticSearch
51
NLog.Targets.ElasticSearch
An NLog target that utilises the elasticsearch low level client.
51
NLog.Targets.ElasticSearch
NLog target for ElasticSearch
50
NLog.Targets.ElasticSearch
An NLog target that utilises the elasticsearch low level client.
50
NLog.Targets.ElasticSearch
An NLog target that utilises the elasticsearch low level client.
49
NLog.Targets.ElasticSearch
NLog target for ElasticSearch
49
NLog.Targets.ElasticSearch
NLog target for ElasticSearch
48
NLog.Targets.ElasticSearch
An NLog target that utilises the elasticsearch low level client.
48

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