Interface | Description |
---|---|
WarningListener<S> |
Intercepts non-fatal error messages logged by
DataStore or other SIS objects. |
Class | Description |
---|---|
LoggerAdapter |
An adapter that redirect all JDK logging events to an other logging framework.
|
LoggerFactory<L> |
A factory for Java
Logger wrapping an other logging framework. |
Logging |
A set of utilities method for configuring loggings in SIS.
|
MonolineFormatter |
A formatter writing log messages on a single line.
|
PerformanceLevel |
Logging levels for measurements of execution time.
|
WarningListeners<S> |
Holds a list of
WarningListener instances and provides convenience methods for emitting warnings. |
Logging
utility class with static methods for
fetching a logger (see Choosing a logging framework below) or logging an
exception.PerformanceLevel
with configurable levels for
logging the duration of lengthly processes.MonolineFormatter
for formatting the log
records on single line with colors, for easier reading on the console output.Logger
API for its logging,
but this package allows redirection of logging messages to some other frameworks like
Log4J.
We recommend to stick to standard JDK logging when possible. However if inter-operability
with an other logging framework is required, then the only action needed is to include
one of the following JAR on the classpath:
sis-logging-commons.jar
for Apache loggingsis-logging-log4j.jar
for Log4J loggingLoggerFactory
implementation.Logging.getLogger(String)
method instead than
the standard Logger.getLogger(String)
method. This is necessary in
order to give SIS a chance to redirect log events to an other logging framework.Defined in the sis-utility
module
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.