Skip to content
This repository

A portable logging abstraction for .NET

branch: master
Octocat-spinner-32 doc fix doc build to properly use JAVA_HOME env var (vs. assuming that ja… January 20, 2014
Octocat-spinner-32 examples Update example project April 20, 2013
Octocat-spinner-32 lib fixing folder naming for consistency May 29, 2012
Octocat-spinner-32 package-nuget applying version-specific suffixes to all adapter assys and nuget pac… May 24, 2012
Octocat-spinner-32 src udpate to reflect 2.2.0 March 01, 2014
Octocat-spinner-32 test reduce ExceptionFormatter to reflect more limited PCL capabilites January 19, 2014
Octocat-spinner-32 tools update nuget to 2.7.3 January 20, 2014
Octocat-spinner-32 .gitignore adding DotSettings file to the ignore list July 13, 2013
Octocat-spinner-32 Common.Logging.2010-net20.sln Move portable code to Common.Logging.Core April 20, 2013
Octocat-spinner-32 Common.Logging.2010.sln Move portable code to Common.Logging.Core April 20, 2013
Octocat-spinner-32 Common.Logging.build fixing inadvertent UNDO while editing build script :) January 19, 2014
Octocat-spinner-32 Common.Logging.ndoc fixing nant refs to correct ziplib binary for packaging step January 19, 2012
Octocat-spinner-32 build-dev.cmd chain build*.cmd files to call thru to same build.cmd January 19, 2012
Octocat-spinner-32 build-package.cmd chain build*.cmd files to call thru to same build.cmd January 19, 2012
Octocat-spinner-32 build-release.cmd udpate to reflect 2.2.0 March 01, 2014
Octocat-spinner-32 build.cmd chain build*.cmd files to call thru to same build.cmd January 19, 2012
Octocat-spinner-32 changelog.txt udpate to reflect 2.2.0 March 01, 2014
Octocat-spinner-32 license.txt add top level readme and license file. Remove similar in subdirs February 27, 2007
Octocat-spinner-32 readme.txt mods to reflect 2.1.1 release in support files June 09, 2012
Octocat-spinner-32 release-checklist.txt fixed missing tools folder for release April 26, 2009
readme.txt
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
  * git@github.com: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

Something went wrong with that request. Please try again.