Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.82 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.82 KB

NLog.Windows.Forms

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