Package org.apache.log4j.spi
Contains part of the System Programming Interface (SPI) needed to
extend log4j.
-
Interface Summary Interface Description AppenderAttachable Interface for attaching appenders to objects.Configurator Implemented by classes capable of configuring log4j using a URL.ErrorCode This interface defines commonly encoutered error codes.ErrorHandler Appenders may delegate their error handling toErrorHandlers
.HierarchyEventListener Listen to events occuring within aHierarchy
.LoggerFactory Implement this interface to create new instances of Logger or a sub-class of Logger.LoggerRepository ALoggerRepository
is used to create and retrieveLoggers
.OptionHandler A string based interface to configure package components.RendererSupport RepositorySelector TheLogManager
uses one (and only one)RepositorySelector
implementation to select theLoggerRepository
for a particular application context.ThrowableRenderer Implemented by classes that render instances of java.lang.Throwable (exceptions and errors) into a string representation.ThrowableRendererSupport Implemented by logger repositories that support configurable rendering of Throwables.TriggeringEventEvaluator Implementions of this interface allow certain appenders to decide when to perform an appender specific action. -
Class Summary Class Description DefaultRepositorySelector Filter Users should extend this class to implement customized logging event filtering.LocationInfo The internal representation of caller location information.LoggingEvent The internal representation of logging events.NOPLogger No-operation implementation of Logger used by NOPLoggerRepository.NOPLoggerRepository No-operation implementation of LoggerRepository which is used when LogManager.repositorySelector is erroneously nulled during class reloading.NullWriter Deprecated. RootCategory Deprecated. Replaced byRootLogger
.RootLogger RootLogger sits at the top of the logger hierachy.ThrowableInformation ThrowableInformation is log4j's internal representation of throwables.VectorWriter Deprecated.