Package org.geotools.util.logging
Extensions to the Java logging framework. The GeoTools project uses the standard
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
Logging.getLogger(String)
, not
Logger.getLogger(String)
. This is necessary in order to give GeoTools a chance to redirect
log events to an other logging framework.
-
Class Summary Class Description CommonsLoggerFactory A factory for loggers that redirect all Java logging events to the Apache's Commons-logging framework.DefaultLoggerFactory Default LoggerFactory using java util logging framework directly.Log4J2Logger An adapter that redirect all Java logging events to the Apache's Log4J framework.Log4J2LoggerFactory A factory for loggers that redirect all Java logging events to the Apache's Log4J framework.Log4JLogger An adapter that redirect all Java logging events to the Apache's Log4J framework.Log4JLoggerFactory A factory for loggers that redirect all Java logging events to the Apache's Log4J framework.LogbackLogger Logger that redirect all Java logging events to logback framework * (using thesl4j API). LogbackLoggerFactory A factory for loggers that redirect all Java logging events to logback framework (using thesl4j API). LoggerAdapter An adapter that redirect all Java logging events to an other logging framework.LoggerFactory<L> A factory for JavaLogger
wrapping an other logging framework.Logging Utility class for configuring logging in GeoTools.Logging.LogLevel Custom logging level used for FATAL and OPERATION.MonolineFormatter A formatter writting log messages on a single line.