Files
spring-net/doc/reference/src/logging.xml

51 lines
2.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2002-2008 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<chapter xml:id="logging" xmlns="http://docbook.org/ns/docbook" version="5">
<title>Common Logging</title>
<section xml:id="logging-abstract">
<title>Introduction</title>
<para>Spring uses a simple logging abstraction in order to provide a layer
of indirection between logging calls made by Spring and the specific
logging library used in your application (log4net, EntLib logging, NLog).
The library is available for .NET 1.0, 1.1, and 2.0 with both debug and
strongly signed assemblies. Since this need is not specific to Spring, the
logging library was moved out of the Spring project and into a more
general open source project called <ulink
url="http://netcommon.sourceforge.net/">Common Infrastructure Libraries
for .NET</ulink>. The logging abstraction within the project is known as
Common.Logging. Note that it is not the intention of this library to be a
replacement for the many fine logging libraries that are out there. The
API is incredibly minimal and will very likely stay that way. Please note
that this library is intended only for use where the paramount requirement
is portability and you will generally be better served by using a specific
logging implementation so that you can leverage its advanced features and
extended APIs to your advantage.</para>
<para>You can find online documentation on how to configure Common.Logging
is available in <ulink
url="http://netcommon.sourceforge.net/doc-latest/reference/html/index.html">HTML</ulink>
, <ulink
url="http://netcommon.sourceforge.net/doc-latest/reference/pdf/commong-logging-reference.pdf">PDF</ulink>,
and <ulink
url="http://netcommon.sourceforge.net/doc-latest/reference/htmlhelp/htmlhelp.chm">HTML
Help</ulink> formats.</para>
</section>
</chapter>