NLog.Windows.Forms 5.2.4

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.

- Fixed RichTextBoxTarget to skip reflection for TargetForm and TargetRichTextBox

.NET Framework 3.5

.NET Core 3.1

.NET 6.0

.NET 8.0

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