FileDocCategorySizeDatePackage
NoOpLog.javaAPI DocAndroid 1.5 API2864Wed May 06 22:41:10 BST 2009org.apache.commons.logging.impl

NoOpLog

public class NoOpLog extends Object implements Serializable, Log

Trivial implementation of Log that throws away all messages. No configurable system properties are supported.

author
Scott Sanders
author
Rod Waldhoff
version
$Id: NoOpLog.java 155426 2005-02-26 13:10:49Z dirkv $

Fields Summary
Constructors Summary
public NoOpLog()
Convenience constructor

 
public NoOpLog(String name)
Base constructor

 
Methods Summary
public voiddebug(java.lang.Object message)
Do nothing

 
public voiddebug(java.lang.Object message, java.lang.Throwable t)
Do nothing

 
public voiderror(java.lang.Object message)
Do nothing

 
public voiderror(java.lang.Object message, java.lang.Throwable t)
Do nothing

 
public voidfatal(java.lang.Object message)
Do nothing

 
public voidfatal(java.lang.Object message, java.lang.Throwable t)
Do nothing

 
public voidinfo(java.lang.Object message)
Do nothing

 
public voidinfo(java.lang.Object message, java.lang.Throwable t)
Do nothing

 
public final booleanisDebugEnabled()
Debug is never enabled.

return
false

 return false; 
public final booleanisErrorEnabled()
Error is never enabled.

return
false

 return false; 
public final booleanisFatalEnabled()
Fatal is never enabled.

return
false

 return false; 
public final booleanisInfoEnabled()
Info is never enabled.

return
false

 return false; 
public final booleanisTraceEnabled()
Trace is never enabled.

return
false

 return false; 
public final booleanisWarnEnabled()
Warn is never enabled.

return
false

 return false; 
public voidtrace(java.lang.Object message)
Do nothing

 
public voidtrace(java.lang.Object message, java.lang.Throwable t)
Do nothing

 
public voidwarn(java.lang.Object message, java.lang.Throwable t)
Do nothing

 
public voidwarn(java.lang.Object message)
Do nothing