NLog 6.0 released

21 Jun 2025

NLog v6 with the following major changes:

  • Support Ahead-of-Time (AOT) builds without warnings
  • Support Nullable references
  • Support ReadOnlySpan to reduce memory allocations
  • LogFactory supports FlushAsync and IDisposableAsync
  • FileTarget removed support for ConcurrentWrites
  • FileTarget refactored file-archive-logic with ArchiveSuffixFormat

NLog v6 reducing its footprint by extracting features into separate nuget-packages:

See also List of major changes in NLog v6 for more details.

Many other improvements

Full list of all changes: NLog 6.0 Pull Requests

Comments and feedback are welcome.

Credits

Additional thanks to all contributers, since last major release: