Package - ReflectSoftware.Insight.Extensions.semanticlogging | Platforms - .NET 4.5.1 and above
The ReflectInsight Semantic Logging Extension is a custom sink specifically developed for the Semantic Logging Framework. The Semantic Logging Framework was developed to tap into the ETW infrastructure and in doing so developers can redirect ETW messages to their preferred destinations (i.e. Viewer, etc.).
This document will show you how to setup and configure, with the ReflectInsight Semantic Logging Extension (Sink) for both “In-Process” and “Out-of-Process” implementations.
The benefits to using the Insight Extensions is that you can easily and quickly add them to your applicable with little effort and then use the ReflectInsight Viewer to view your logging in real-time, allowing you to filter, search, navigate and see the details of your logged messages.
Install-Package ReflectSoftware.Insight.Extensions.SemanticLogging
Then in your app.config or web.config file, add the following configuration sections:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="insightSettings" type="ReflectSoftware.Insight.ConfigurationHandler,ReflectSoftware.Insight" />
</configSections>
<insightSettings>
<baseSettings>
<configChange enabled="true" />
<enable state="all" />
<propagateException enabled="false" />
<global category="ReflectInsight" />
<exceptionEventTracker time="20" />
</baseSettings>
<listenerGroups active="Release">
<group name="Release" enabled="true" maskIdentities="false">
<destinations>
<destination name="Viewer" enabled="true" filter="" details="Viewer" />
</destinations>
</group>
</listenerGroups>
<logManager default="semantic">
<instance name="semantic" category="Semantic" />
</logManager>
</insightSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
Additional configuration details for the ReflectSoftware.Insight.Extensions.SemanticLogging logging extension can be found here.