FileDocCategorySizeDatePackage
NOPLoggerRepository.javaAPI DocApache log4j 1.2.152972Sat Aug 25 00:09:40 BST 2007org.apache.log4j.spi

NOPLoggerRepository

public final class NOPLoggerRepository extends Object implements LoggerRepository
No-operation implementation of LoggerRepository which is used when LogManager.repositorySelector is erroneously nulled during class reloading.
since
1.2.15

Fields Summary
Constructors Summary
Methods Summary
public voidaddHierarchyEventListener(org.apache.log4j.spi.HierarchyEventListener listener)
{@inheritDoc}

    
public voidemitNoAppenderWarning(org.apache.log4j.Category cat)
{@inheritDoc}

    
public org.apache.log4j.Loggerexists(java.lang.String name)
{@inheritDoc}

        return null;
    
public voidfireAddAppenderEvent(org.apache.log4j.Category logger, org.apache.log4j.Appender appender)
{@inheritDoc}

    
public java.util.EnumerationgetCurrentCategories()
{@inheritDoc}

        return getCurrentLoggers();
    
public java.util.EnumerationgetCurrentLoggers()
{@inheritDoc}

        return new Vector().elements();
    
public org.apache.log4j.LoggergetLogger(java.lang.String name)
{@inheritDoc}

        return new NOPLogger(this, name);
    
public org.apache.log4j.LoggergetLogger(java.lang.String name, org.apache.log4j.spi.LoggerFactory factory)
{@inheritDoc}

        return new NOPLogger(this, name);
    
public org.apache.log4j.LoggergetRootLogger()
{@inheritDoc}

        return new NOPLogger(this, "root");
    
public org.apache.log4j.LevelgetThreshold()
{@inheritDoc}

        return Level.OFF;
    
public booleanisDisabled(int level)
{@inheritDoc}

        return true;
    
public voidresetConfiguration()
{@inheritDoc}

    
public voidsetThreshold(org.apache.log4j.Level level)
{@inheritDoc}

    
public voidsetThreshold(java.lang.String val)
{@inheritDoc}

    
public voidshutdown()
{@inheritDoc}