com.itextpdf.text.log
Class NoOpLogger

java.lang.Object
  extended by com.itextpdf.text.log.NoOpLogger
All Implemented Interfaces:
Logger

public final class NoOpLogger
extends Object
implements Logger

The no-operation logger, it does nothing with the received logging statements. And returns false by default for isLogging()

Author:
redlab_b

Constructor Summary
NoOpLogger()
           
 
Method Summary
 boolean isLogging()
          Enable/disable logging.
 void log(Class<?> klass, String msg)
          Called when a logging message is received
 void log(String msg)
          Called when a logging message is received
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpLogger

public NoOpLogger()
Method Detail

log

public void log(String msg)
Description copied from interface: Logger
Called when a logging message is received

Specified by:
log in interface Logger

log

public void log(Class<?> klass,
                String msg)
Description copied from interface: Logger
Called when a logging message is received

Specified by:
log in interface Logger

isLogging

public boolean isLogging()
Description copied from interface: Logger
Enable/disable logging.

Specified by:
isLogging in interface Logger
Returns:
true if there should be logged, false otherwise


Copyright © 2011. All Rights Reserved.