Skip to content

Commit

Permalink
NLog v5 changing to maintenance mode
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot committed Sep 16, 2024
1 parent d475614 commit d0eccf6
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions _posts/2024-10-01-nlog-6-0-goals.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,21 @@ NLog v6.0 has the following goals:
- NLog will instead have a simple FileTarget without ConcurrentWrites-support but only KeepFileOpen = false

The overall goal for NLog v6.0 is still to be a fully working logging-library in a single nuget-package.
The NLog-package will out of the box only handle file- and console-output, which probably covers 90 pct. of the use cases.
When needing other output destinations or formats, then additional nuget-packages must be included.
The NLog-package will out of the box only handle file- and console-output, which will probably cover 90 pct.
of the use cases. When needing other output destinations or formats, then additional nuget-packages must be included.

The planned interface cleanup for `Logger` / `ILogger` will probably give a lot of headache,
as it will require all dependencies to be upgraded before upgrading the main-application.
Where NLog v5 was mostly an update of default values for the main-application to handle,
then the upgrade to NLog v6 will affect the entire dependency- / project-tree.

The goal is that all existing nuget-packages with custom NLog targets should continue to function with NLog v6.
Another goal is that all existing nuget-packages that depend on NLog v4, should continue to function with NLog v6.
This means NLog v6 will probably continue to support obsolete API-methods, that are relevant for custom NLog targets.

.NET8 already have great support for AOT, but many Microsoft teams are still working with updating
their nuget-packages to support AOT. Believe the goal for .NET9 is to update more nuget-packkage
to fully support AOT, so more aplications that depend on ASP.NET or MAUI have full AOT support.
NLog should not become a blocker, when people wants to make AOT builds.
.NET8 already have great support for AOT, but many Microsoft teams are still working on updating
their nuget-packages to support AOT. Believe the goal for .NET9 is to ensure even more nuget-packages
will fully support AOT, to allow more ASP.NET or MAUI applications to start using AOT.
NLog should not become a blocker, when wanting to try out AOT builds.

This means NLog v5 will now go into maintenance mode (together with NLog v4), and focus
will now be on getting NLog v6 preview build ready.

0 comments on commit d0eccf6

Please sign in to comment.