GithubHelp home page GithubHelp logo

cmcnab / common-logging Goto Github PK

View Code? Open in Web Editor NEW

This project forked from net-commons/common-logging

0.0 2.0 0.0 21.69 MB

A portable logging abstraction for .NET

Home Page: http://netcommon.sourceforge.net/

License: Apache License 2.0

common-logging's Introduction

Common.Logging 2.1.1 (June 9 2012)
---------------------------------------------------------
http://github.com/net-commons/common-logging
http://netcommon.sf.net/

Note: Common.Logging is also available via NuGet; visit http://nuget.org and search using "Common.Logging" for details and packages.

1. INTRODUCTION

Provides a simple logging abstraction to switch between different logging implementations.
There is current support for log4net (1.2.11, 1.2.10 and 1.2.9), NLog (1.0, 2.0), and
Enterprise Library logging (3.1, 4.1, and 5.0)

Additionally Common.Logging comes with a set of base classes making the integration of any log
system a breeze.

2. KNOWN ISSUES

No known issues

3. RELEASE INFO

Release contents:

* "bin" contains the Common.Logging distribution dll files
* "doc" contains reference documentation.
* "shared" contains shared nant build scripts
* "modules" contains the sourcecode for Common.Logging.XXXX modules
* "redist" contains redistributable assemblies like log4net for your convenience

The Common Infrastructure Libraries for .NET are released under the terms of the Apache Software License (see license.txt).


4. BUILDING

Clone the github repository found at https://github.com/net-commons/common-logging using your choice of connection protocol:
  * git://github.com/net-commons/common-logging.git
  * https://github.com/net-commons/common-logging.git
  * [email protected]:net-commons/common-logging.git

From the commandline execute

  c:\netcommon>build-release.cmd


5. CONFIGURING

in your app.config or web.config add the lines

<?xml version="1.0" encoding="utf-8" ?>
<configuration>

  <configSections>
    <sectionGroup name="common">
      <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
    </sectionGroup>
  </configSections>

  <common>
    <logging>
      <factoryAdapter type="Common.Logging.Simple.TraceLoggerFactoryAdapter, Common.Logging">
        <arg key="level" value="ALL" />
      </factoryAdapter>
    </logging>
  </common>

...

</configuration>


see module documentations for available factoryAdapters and their configuration values

common-logging's People

Contributors

sbohlen avatar eeichinger avatar daniel-svensson avatar cd21h avatar bbaia avatar ioancrisan avatar adamralph avatar aseovic avatar

Watchers

James Cloos avatar Chadwick McNab 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.