<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Nlog on ZBrad's Blog</title><link>https://zbrad.github.io/tags/nlog/</link><description>Recent content in Nlog on ZBrad's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 19 Oct 2015 00:00:00 -0700</lastBuildDate><atom:link href="https://zbrad.github.io/tags/nlog/feed.xml" rel="self" type="application/rss+xml"/><item><title>A new NLogEtw component</title><link>https://zbrad.github.io/tools/NLogEtw/</link><pubDate>Mon, 19 Oct 2015 00:00:00 -0700</pubDate><guid>https://zbrad.github.io/tools/NLogEtw/</guid><description>&lt;p&gt;Describes the creation of a new
&lt;a href="https://github.com/NLog/NLog/wiki/Extending%20NLog"&gt;custom NLog target&lt;/a&gt;
that provides an
&lt;a href="https://msdn.microsoft.com/en-us/library/ms751538(v=vs.110).aspx"&gt;ETW source&lt;/a&gt;
(Event Tracing for Windows) for event processing in Microsoft
platforms. This is useful for applications built on NLog, that
also need to execute in ETW environments. The code is available
on &lt;a href="https://github.com/zbrad/nlogetw"&gt;GitHub&lt;/a&gt; and the package is
available from &lt;a href="https://www.nuget.org/packages/ZBrad.NLogEtw/1.0.0-beta"&gt;NuGet&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="background"&gt;Background&lt;/h2&gt;
&lt;p&gt;I prefer to use NLog within my applications. Recently I&amp;rsquo;ve been creating
microservice applications for some customer guidance using the new &lt;a href="https://azure.microsoft.com/en-us/campaigns/service-fabric/"&gt;Azure Service Fabric&lt;/a&gt;.
The issue is that by default, the Visual Studio templates and the debugging environment,
use ETW events for diagnostic and logging information. During a debug session it shows a display like:&lt;/p&gt;</description></item></channel></rss>