A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/erizet/NlogViewer below:

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

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

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>

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4