Skip to content

NLog/NLog.Windows.Forms

Repository files navigation

NLog.Windows.Forms

Version AppVeyor codecov.io

This package provides NLog targets for displaying log output in Windows Forms applications.

See list

Register Extension

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

When loading configuration from NLog.config file, then register the extension in the section:

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

Alternative register from code using the fluent configuration API:

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

Releases

Used by

Contributors

Languages