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