NLog 5.0 Finally Ready!

16 May 2022

NLog 5.0 has completed preview testing, and is ready for release.

Major Changes

  • NLog ScopeContext replaces MDLC and MDC
  • NLog Configuration from code with fluent LogManager.Setup()
  • NLog DatabaseTarget extracted into its own NLog.Database nuget-package
  • NLog Extensions assemblies will not be loaded automatically, so extensions must be explicitly added.
  • .NET Standard takes over target-platforms Silverlight / WindowsPhone / Xamarin iOS / Xamarin Android
  • Updated default values for better out-of-the-box experience
  • Removed obsolete methods and properties

For more details see List of major changes in NLog 5.0

For full list of all changes: NLog 5.0 Pull Requests

Credits

Additional thanks to contributers:

  • @TalAloni
  • @njqdev
  • @menishmueli
  • @ErickJeffries
  • @AlanLiu90
  • @aled
  • @tetrodoxin
  • @noamyogev84
  • @simoneserra93
  • @sjafarianm
  • @Orace
  • @GitHubPang
  • @KurnakovMaksim