Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

NuGet

NlogViewer

NlogViewer is a simple WPF-control to show NLog-logs. It's heavily inspired by this blog.

How to use?

Add a namespace to your Window, like this:

    xmlns:nlog ="clr-namespace:NlogViewer;assembly=NlogViewer"

then add the control.

    <nlog:NlogViewer x:Name="logCtrl" /> 

To setup NlogViewer as a target, add the following to your Nlog.config.

  <extensions>
    <add assembly="NlogViewer" />
  </extensions>
  <targets>
    <target xsi:type="NlogViewer" name="ctrl" />
  </targets>
  <rules>
    <logger name="*" minlevel="Trace" writeTo="ctrl" />
  </rules>

Nuget

A NuGet-package is available here. It will try to install the control and a sample Nlog.config.

About

NlogViewer is a simple WPF-control to show NLog-logs.

Resources

License

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.