org.geotools.util.logging |
package org.geotools.util.logging
Extensions to the {@linkplain java.util.logging Java logging} framework. The GeoTools
project uses the standard {@link java.util.logging.Logger} API for its logging, but this
package allows redirection of logs to some other frameworks like
Log4J.
All GeoTools code should fetch their logger through a call to
{@link org.geotools.util.logging.Logging#getLogger(String)}, not
{@link java.util.logging.Logger#getLogger(String)}. This is necessary in
order to give GeoTools a chance to redirect log events to an other logging
framework.
|
Java Source File Name | Type | Comment |
CommonsLogger.java | Class | An adapter that redirect all Java logging events to the Apache's
Commons-logging framework. |
CommonsLoggerFactory.java | Class | A factory for loggers that redirect all Java logging events to the Apache's
Commons-logging framework. |
Log4JLogger.java | Class | An adapter that redirect all Java logging events to the Apache's
Log4J framework. |
Log4JLoggerFactory.java | Class | A factory for loggers that redirect all Java logging events to the Apache's
Log4J framework. |
LoggedFormat.java | Class | Wraps a
Format object in order to either parse fully a string, or log a warning.
This class provides a
LoggedFormat.parse method which performs the following tasks:
- Checks if the string was fully parsed and log a warning if it was not.
|
LoggerAdapter.java | Class | An adapter that redirect all Java logging events to an other logging framework. |
LoggerFactory.java | Class | A factory for Java
Logger wrapping an other logging framework. |
Logging.java | Class | A set of utilities method for configuring loggings in GeoTools. |
MonolineFormatter.java | Class | A formatter writting log messages on a single line. |