NLog 5.4.0

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 Core 1, 2 and 3 - .NET Standard 1.3+ and 2.0+ - .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
JustEat.StatsD
JUST EAT statsd metrics-publishing
17
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
16
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
15
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
14
NLog.Web.AspNetCore
Extend NLog with targets and layout renderers for websites and webapplications on the ASP.NET Core platform.
13
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
13
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
13
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
13
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
12
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
12
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
12
Castle.Core
Core of the castle project
12

ChangeLog: - Fix AppDomain BaseDirectory on NET9 when it returns Long UNC (#5698) (@snakefoot) - AsyncTaskTarget - Reduce default throttle after failure to 50ms instead of 500ms (#5700) (@snakefoot) - ColoredConsoleTarget - Recognize NO_COLOR environment variable (#5702) (@snakefoot) - More InternalLogger output when target disabled because failed to initialize (#5696) (@snakefoot) - SimpleLayout - FromString avoid first chance exception when unknown layoutrenderer-type (#5681) (@snakefoot) - ObjectGraphScanner - Handle property-getter that throws when AOT (#5651) (@snakefoot) - LoggingConfigurationParser - Handle property-getter that throws when AOT (#5656) (@snakefoot) - Remove Serializable-attribute and SerializationInfo since obsolete in NET8 (#5604) (@snakefoot) - Marked JsonLayout EscapeForwardSlash as obsolete (#5695) (@snakefoot) - Marked NLogViewerTarget and IncludeNLogData as obsolete (#5694) (@snakefoot) - Marked XmlLoggingConfiguration AppConfig as obsolete (#5693) (@snakefoot) - Marked XmlLoggingConfiguration InitializeSucceeded as obsolete (#5692) (@snakefoot) - Marked LogEventInfo SetStackTrace with UserStackFrameNumber as obsolete (#5691) (@snakefoot) - Marked SetupFromEnvironmentVariables and LogToTrace as obsolete (#5689) (@snakefoot) - FileTarget - Introduced WriteToFile without concurrentWrites (#5687) (@snakefoot) - TraceTarget - Fixed Header output (#5682) (@snakefoot) - CounterLayoutRenderer - Lock on readonly field to fix Sonar Code Smell (#5680) (@snakefoot) - LogAssemblyVersion should check InternalLogger IsInfoEnabled (#5630) (@snakefoot) - MethodFactory - Only register methods from class-types (#5684) (@snakefoot) - StringBuilderExt - Updated EqualTo for StringBuilder to foreach-loop (#5686) (@snakefoot) - SimpleLayout - Refactor RenderAllRenderers to use foreach (#5611) (@snakefoot) - JsonLayout - Optimize AppendStringEscape for success path (#5610) (@snakefoot) - JsonLayout - Optimize ExcludeEmptyProperties to skip string cast (#5601) (@snakefoot) NLog v5.2 changes how to load extensions: https://nlog-project.org/2023/05/30/nlog-5-2-trim-warnings.html List of major changes in NLog 5.0: https://nlog-project.org/2022/05/16/nlog-5-0-finally-ready.html Full changelog: https://github.com/NLog/NLog/blob/master/CHANGELOG.md For all config options and platform support, check https://nlog-project.org/config/

Version Downloads Last updated
5.4.0 4 02/07/2025
5.3.4 24 09/16/2024
5.3.3 8 08/12/2024
5.3.2 26 05/03/2024
5.3.1 11 04/29/2024
5.2.8 10 01/08/2024
5.2.7 11 12/15/2023
5.2.6 14 12/15/2023
5.2.5 12 12/15/2023
5.2.4 12 12/15/2023
5.2.3 11 12/15/2023
5.2.2 10 12/15/2023
5.2.1 11 12/15/2023
5.2.0 11 08/28/2023
5.1.5 11 08/27/2023
5.1.4 13 08/30/2023
5.1.3 11 08/31/2023
5.1.2 12 08/30/2023
5.1.1 11 08/29/2023
5.1.0 11 09/01/2023
5.0.5 14 08/29/2023
5.0.4 13 09/01/2023
5.0.3 11 08/27/2023
5.0.2 15 08/29/2023
5.0.1 12 08/26/2023
5.0.0 12 02/17/2024
4.7.15 11 08/26/2023
4.7.14 15 12/15/2023
4.7.13 13 08/31/2023
4.7.12 13 08/27/2023
4.7.11 10 08/29/2023
4.7.10 13 08/28/2023
4.7.9 16 08/29/2023
4.7.8 9 02/17/2024
4.7.7 10 01/08/2024
4.7.6 10 08/28/2023
4.7.5 11 08/28/2023
4.7.4 11 08/31/2023
4.7.3 13 08/25/2023
4.7.2 12 08/28/2023
4.7.1 9 08/31/2023
4.7.0 9 08/28/2023
4.6.8 11 08/31/2023
4.6.7 11 08/31/2023
4.6.6 12 08/25/2023
4.6.5 11 08/29/2023
4.6.4 9 08/31/2023
4.6.3 10 08/27/2023
4.6.2 9 08/27/2023
4.6.1 12 08/25/2023
4.6.0 11 08/28/2023
4.5.11 12 12/30/2020
4.5.10 16 08/28/2023
4.5.9 11 08/29/2023
4.5.8 11 08/26/2023
4.5.7 12 08/25/2023
4.5.6 11 08/30/2023
4.5.5 12 08/25/2023
4.5.4 10 08/29/2023
4.5.3 15 08/29/2023
4.5.2 13 08/31/2023
4.5.1 14 08/30/2023
4.5.0 11 08/25/2023
4.4.13 10 08/28/2023
4.4.12 15 08/29/2023
4.4.11 12 08/30/2023
4.4.10 8 08/31/2023
4.4.9 12 08/31/2023
4.4.8 9 08/28/2023
4.4.7 12 08/26/2023
4.4.6 10 08/30/2023
4.4.5 12 08/27/2023
4.4.4 15 08/30/2023
4.4.3 10 08/28/2023
4.4.2 11 08/27/2023
4.4.1 13 08/29/2023
4.4.0 11 08/31/2023
4.3.11 11 08/30/2023
4.3.10 11 08/25/2023
4.3.9 14 08/26/2023
4.3.8 9 08/30/2023
4.3.7 9 08/29/2023
4.3.6 10 12/30/2023
4.3.5 8 08/29/2023
4.3.4 11 08/28/2023
4.3.3 12 02/17/2024
4.3.2 12 08/26/2023
4.3.1 8 02/17/2024
4.3.0 9 08/28/2023
4.2.3 10 08/27/2023
4.2.2 10 08/30/2023
4.2.1 11 08/29/2023
4.2.0 11 08/31/2023
4.1.2 10 08/25/2023
4.1.1 10 08/30/2023
4.1.0 9 08/31/2023
4.0.1 10 08/27/2023
4.0.0 9 08/31/2023
3.2.1 10 08/30/2023
3.2.0 8 08/26/2023
3.1.0 9 02/17/2024
3.0.0 11 08/26/2023
2.1.0 7 08/30/2023
2.0.1.2 13 02/17/2024
2.0.0.2000 9 02/17/2024
1.0.0.505 12 02/16/2024