Package org.apache.ws.jaxme.logging

The logging framework

This package provides a minimal logging framework.

Interface Summary

LoggerThe Logger interface describes an object which is able to log a message.
LoggerFactoryThe LoggerFactory is responsible for creating Logger instances.

Class Summary

AntProjectLoggerA wrapper for the Ant logger.
AntProjectLoggerFactoryA LoggerFactory logging via an Ant project.
JavaUtilLogger
JavaUtilLoggerFactoryAn logger factory creating instances of JavaUtilLogger.
Log4jLogger
Log4jLoggerFactoryAn logger factory creating instances of JavaUtilLogger.
LoggerAccessThis class implements access to the Loggers through static methods.
LoggerFactoryImplDefault implementation of a LoggerFactory.
LoggerImplBase implementation of a Logger.
PrintStreamLoggerA Logger implementation writing to an instance of PrintStream.
PrintWriterLoggerA Logger implementation writing to an instance of PrintWriter.

The logging framework

This package provides a minimal logging framework. The approach is simplistic and designed for reuse of existing other frameworks. In particular, log4j and the java.util.logging package are being supported. So is logging to System.err.

Logging works by obtaining a Logger. The Logger is an implementation of Logger.4To get a Logger, use the LoggerFactory. Available implementations of Logger use the log4j framework, the Java logging framework, or System.err. To choose a certain Logger, use the system property org.apache.ws.jaxme.logging.LoggerFactory or the resource META-INF/services/org.apache.ws.jaxme.logging.LoggerFactory. If neither is present, a default implementation will be created.