Package ojb.broker.util.logging

This package contains classes that provide the OJB logging API.

See:
          Description

Interface Summary
Logger this interface defines the behaviour of a logging mechanism.
 

Class Summary
Log4jLoggerImpl This is a Logger implementation based on Log4j.
LoggerFactory The factory class LoggerFactory can be used to create Logger instances.
PoorMansLoggerImpl this is a most simple Logger implementation.
 

Package ojb.broker.util.logging Description

This package contains classes that provide the OJB logging API.

The Logger interface defines the behaviour of the OJB logging mechanism. This API corresponds closely to the LOG4J Category Api. By using this interface for logging operations OJB remains free from Logger-Implementation specific code.

The class PoorMansLoggerImpl implements Logger and provides the OJB default implementations. All logging output is directed to System.out.

The class Log4jLoggerImpl implements Logger and provides LOG4J based logger implementations.

The factory class LoggerFactory can be used to create Logger instances. The Logger-implementation class served by the factory is configured by settings in the OJB.properties file.

Patterns applied: Configurable Factory, Adapter

Todo: Provide a JDK1.4 based logger



Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04