Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NLog/NLog.Windows.Forms

Repository files navigation

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();

AltStyle によって変換されたページ (->オリジナル) /