NLog.Windows.Forms 6.0.3

NLog.Windows.Forms

Version AppVeyor codecov.io

This package provides NLog Targets that redirect logging output to Windows Forms:

See list

Register Extension

Install the NLog.Windows.Forms NuGet package and register the extension-assembly.

NLog will only recognize the extensions when loading from NLog.config-file, by adding the extension to NLog.config-file:

<extensions>
  <add assembly="NLog.Windows.Forms"/>
</extensions>

Alternative register from code using fluent configuration API:

NLog.LogManager.Setup().RegisterWindowsForms();

No packages depend on NLog.Windows.Forms.

Changelog: - Updated NLog v6.0.3 - Optimize RichTextBox target when used together with AsyncWrapper target - Optimize RichTextBox target to reduce enumerator allocation for row and word highlighting

.NET Framework 3.5

.NET Core 3.1

.NET 6.0

.NET 8.0

Version Downloads Last updated
6.0.3 1 2025/11/6
6.0.2 2 2025/9/22
6.0.0 2 2025/9/22
5.2.4 5 2025/5/29
5.2.3 3 2025/6/5
5.2.2 3 2025/6/5
5.2.1 3 2025/6/5
5.2.0 3 2025/6/5
5.0.0 5 2025/5/29
4.6.0 4 2025/5/29
4.5.0 3 2025/6/5
4.4.0 3 2025/6/5
4.3.0 3 2025/6/5
4.2.3 3 2025/6/5
4.2.2 3 2025/6/5
4.2.1 3 2025/6/5
4.2.0 4 2025/5/28
4.1.0 4 2025/5/29
4.0.0 6 2025/5/29
2.1.1 4 2025/5/29
2.1.0 6 2025/5/29
2.0.0 5 2025/5/29
1.0.13 3 2025/6/6
1.0.12 3 2025/6/5