Package - ReflectSoftware.Insight.Listeners.SqlServer | Platforms - .NET 4.5.1 and above
We've added a new destination listener extension for ReflectInsight for logging to SQL Server. This new destination listener extension is called ReflectSoftware.Insight.Listeners.SqlServer and allows you to send logging messages to a SQL Server database.
The benefits to using the Insight Listeners is that you can easily and quickly add them to your applicable with little effort and then send ReflectInsight logging messages to other destinations.
To install ReflectSoftware.Insight.Listeners.SqlServer listener, run the following command in the Package Manager Console:
Install-Package ReflectSoftware.Insight.Listeners.SqlServer
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>
<listeners>
</listeners>
<listenerGroups active="Active">
<group name="Active" enabled="true" maskIdentities="false">
<destinations>
</destinations>
</group>
</listenerGroups>
<filters>
<filter name="ErrorWarningFilter" mode="Include">
<method type="SendError"/>
<method type="SendException"/>
<method type="SendFatal"/>
</filter>
</filters>
</insightSettings>
</configuration>
Additional configuration details for the ReflectSoftware.Insight.Listeners.SqlServer listener can be found here.