See: Description
Interface | Description |
---|---|
Logger |
this interface defines the behaviour of a logging mechanism.
|
Class | Description |
---|---|
CommonsLoggerImpl |
This is a Logger implementation based on jakarta commons logging.
|
Log4jLoggerImpl |
This is a Logger implementation based on Log4j.
|
LoggerFactory |
This is a wrapper thta provides static accessors to LoggerFactoryImpl methods
|
LoggerFactoryImpl |
The factory class
LoggerFactory can be used
to create Logger instances. |
LoggerWrapperPrintWriter |
Extremely simple piggyback for OJB Logger interface to provide PrintWriter dito.
|
LoggingConfiguration |
Provides the configuration for the logging.
|
PoorMansLoggerImpl |
this is a most simple Logger implementation.
|
StringBufferLoggerImpl |
This class is a
Logger implementation based on a StringBuffer . |
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
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30