Giter Site home page Giter Site logo

kouweizhong / reflectinsight-extensions-enterpriselibrary Goto Github PK

View Code? Open in Web Editor NEW

This project forked from reflectsoftware/reflectinsight-extensions-enterpriselibrary

0.0 0.0 0.0 24 KB

A ReflectInsight Extension that receives logged messages from Enterprise Library framework

License: Microsoft Public License

PowerShell 15.20% C# 84.80%
enterpriselibrary

reflectinsight-extensions-enterpriselibrary's Introduction

ReflectInsight-Extensions-EnterpriseLibrary

Build status License Release NuGet Version Stars

Package - ReflectSoftware.Insight.Extensions.enterpriselibrary | Platforms - .NET 4.5.1 and above

Overview

The Enterprise Library extension supports v6.0 and v5.0 of the Logging Application Block. However if you need to support an older version, then you will need to download the ReflectInsight Logging Extensions Library source from GitHub and rebuild it against a specific release of the Enterprise Library.

Benefits of ReflectInsight Extensions

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.

Specific to Enterprise Library

One of the nice benefits of using the Enterprise Library extension is that if your message you log is XML, then the extension will automatically transform your message into the SendXML message type which will show up in the XML syntax.

Getting Started

Install-Package ReflectSoftware.Insight.Extensions.EnterpriseLibrary

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="enterpriseLibrary.ConfigurationSource" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceSection, Microsoft.Practices.EnterpriseLibrary.Common" requirePermission="true" />    
    <section name="insightSettings" type="ReflectSoftware.Insight.ConfigurationHandler,ReflectSoftware.Insight" />
  </configSections>

  <enterpriseLibrary.ConfigurationSource selectedSource="External Source">
    <sources>
      <add name="External Source" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileConfigurationSource, Microsoft.Practices.EnterpriseLibrary.Common" filePath="EntLib.config" />
    </sources>
  </enterpriseLibrary.ConfigurationSource>

  <insightSettings>
    <baseSettings>
      <configChange enabled="true" />
      <propagateException enabled="false" />
      <exceptionEventTracker time="20" />
      <debugMessageProcess enabled="true" />
    </baseSettings>

    <listenerGroups active="Debug">
      <group name="Debug" enabled="true" maskIdentities="false">
        <destinations>
          <destination name="Viewer" enabled="true" filter="" details="Viewer" />
        </destinations>
      </group>
    </listenerGroups>

    <!-- Log Manager -->
    <logManager>
      <instance name="EntLibInstance" category="EntLib" bkColor="" />
    </logManager>
  </insightSettings>
    
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>
</configuration>

Additional configuration details for the ReflectSoftware.Insight.Extensions.EnterpriseLibrary logging extension can be found here.

Additional Resources

Documentation

Submit User Feedback

Contact Support

ReflectSoftware Website

reflectinsight-extensions-enterpriselibrary's People

Contributors

calloncampbell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.