Package org.apache.log4j.spi


package org.apache.log4j.spi
Contains part of the System Programming Interface (SPI) needed to extend log4j.
  • Class
    Description
    Interface 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 a Hierarchy.
    The internal representation of caller location information.
    Implement this interface to create new instances of Logger or a sub-class of Logger.
    A LoggerRepository is used to create and retrieve Loggers.
    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.
     
    The LogManager uses one (and only one) RepositorySelector implementation to select the LoggerRepository for a particular application context.
    Deprecated.
    Replaced by RootLogger.
    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.