NLog.Windows.Forms 5.2.2

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:

  <!-- enable NLog.Windows.Forms targets and layoutrenderers -->
  <extensions>
    <add assembly="NLog.Windows.Forms"/>
  </extensions>

Alternative register from code using fluent configuration API:

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

License

BSD

No packages depend on NLog.Windows.Forms.

- Added README.md to nuget-package - Fixed NullReferenceException for RichTextBoxTarget (@snakefoot) - Updated to NLog v5.2.2 (@snakefoot)

.NET Framework 3.5

.NET Core 3.1

.NET 6.0

Version Downloads Last updated
6.0.2 1 2025/9/22
6.0.0 1 2025/9/22
5.2.4 4 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 2 2025/6/5
5.0.0 4 2025/5/29
4.6.0 3 2025/5/29
4.5.0 1 2025/6/5
4.4.0 1 2025/6/5
4.3.0 2 2025/6/5
4.2.3 1 2025/6/5
4.2.2 1 2025/6/5
4.2.1 2 2025/6/5
4.2.0 3 2025/5/28
4.1.0 3 2025/5/29
4.0.0 5 2025/5/29
2.1.1 3 2025/5/29
2.1.0 5 2025/5/29
2.0.0 4 2025/5/29
1.0.13 2 2025/6/6
1.0.12 2 2025/6/5