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

NOPLogger

public final class NOPLogger extends Logger
No-operation implementation of Logger used by NOPLoggerRepository.
since
1.2.15

Fields Summary
Constructors Summary
public NOPLogger(NOPLoggerRepository repo, String name)
Create instance of Logger.

param
repo repository, may not be null.
param
name name, may not be null, use "root" for root logger.

        super(name);
        this.repository = repo;
        this.level = Level.OFF;
        this.parent = this;
    
Methods Summary
public voidaddAppender(org.apache.log4j.Appender newAppender)
{@inheritDoc}

    
public voidassertLog(boolean assertion, java.lang.String msg)
{@inheritDoc}

    
public voidcallAppenders(org.apache.log4j.spi.LoggingEvent event)
{@inheritDoc}

    
voidcloseNestedAppenders()
{@inheritDoc}

    
public voiddebug(java.lang.Object message)
{@inheritDoc}

    
public voiddebug(java.lang.Object message, java.lang.Throwable t)
{@inheritDoc}

    
public voiderror(java.lang.Object message)
{@inheritDoc}

    
public voiderror(java.lang.Object message, java.lang.Throwable t)
{@inheritDoc}

    
public voidfatal(java.lang.Object message)
{@inheritDoc}

    
public voidfatal(java.lang.Object message, java.lang.Throwable t)
{@inheritDoc}

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

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

       return null;
    
public org.apache.log4j.PrioritygetChainedPriority()
{@inheritDoc}

      return getEffectiveLevel();
    
public org.apache.log4j.LevelgetEffectiveLevel()
{@inheritDoc}

      return Level.OFF;
    
public java.util.ResourceBundlegetResourceBundle()
{@inheritDoc}

      return null;
    
public voidinfo(java.lang.Object message)
{@inheritDoc}

    
public voidinfo(java.lang.Object message, java.lang.Throwable t)
{@inheritDoc}

    
public booleanisAttached(org.apache.log4j.Appender appender)
{@inheritDoc}

      return false;
    
public booleanisDebugEnabled()
{@inheritDoc}

      return false;
    
public booleanisEnabledFor(org.apache.log4j.Priority level)
{@inheritDoc}

      return false;
    
public booleanisInfoEnabled()
{@inheritDoc}

      return false;
    
public booleanisTraceEnabled()
{@inheritDoc}

        return false;
    
public voidl7dlog(org.apache.log4j.Priority priority, java.lang.String key, java.lang.Throwable t)
{@inheritDoc}

    
public voidl7dlog(org.apache.log4j.Priority priority, java.lang.String key, java.lang.Object[] params, java.lang.Throwable t)
{@inheritDoc}

    
public voidlog(org.apache.log4j.Priority priority, java.lang.Object message, java.lang.Throwable t)
{@inheritDoc}

    
public voidlog(org.apache.log4j.Priority priority, java.lang.Object message)
{@inheritDoc}

    
public voidlog(java.lang.String callerFQCN, org.apache.log4j.Priority level, java.lang.Object message, java.lang.Throwable t)
{@inheritDoc}

    
public voidremoveAllAppenders()
{@inheritDoc}

    
public voidremoveAppender(org.apache.log4j.Appender appender)
{@inheritDoc}

    
public voidremoveAppender(java.lang.String name)
{@inheritDoc}

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

    
public voidsetPriority(org.apache.log4j.Priority priority)
{@inheritDoc}

    
public voidsetResourceBundle(java.util.ResourceBundle bundle)
{@inheritDoc}

    
public voidtrace(java.lang.Object message)
{@inheritDoc}

    
public voidtrace(java.lang.Object message, java.lang.Throwable t)
{@inheritDoc}

    
public voidwarn(java.lang.Object message)
{@inheritDoc}

    
public voidwarn(java.lang.Object message, java.lang.Throwable t)
{@inheritDoc}