org.jboss.logging
Class NullLoggerPlugin

java.lang.Object
  extended byorg.jboss.logging.NullLoggerPlugin
All Implemented Interfaces:
LoggerPlugin (src)

public class NullLoggerPlugin
extends java.lang.Object
implements LoggerPlugin (src)

LoggerPlugin implementation producing no output at all. Used for client side logging when no log4j.jar is available on the classpath.

See Also:
Logger (src) , LoggerPlugin (src)

Constructor Summary
NullLoggerPlugin()
           
 
Method Summary
 void debug(java.lang.Object message)
           
 void debug(java.lang.Object message, java.lang.Throwable t)
           
 void error(java.lang.Object message)
           
 void error(java.lang.Object message, java.lang.Throwable t)
           
 void fatal(java.lang.Object message)
           
 void fatal(java.lang.Object message, java.lang.Throwable t)
           
 void info(java.lang.Object message)
           
 void info(java.lang.Object message, java.lang.Throwable t)
           
 void init(java.lang.String name)
           
 boolean isDebugEnabled()
           
 boolean isInfoEnabled()
           
 boolean isTraceEnabled()
           
 void trace(java.lang.Object message)
           
 void trace(java.lang.Object message, java.lang.Throwable t)
           
 void warn(java.lang.Object message)
           
 void warn(java.lang.Object message, java.lang.Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullLoggerPlugin

public NullLoggerPlugin()
Method Detail

init

public void init(java.lang.String name)
Specified by:
init in interface LoggerPlugin (src)

isTraceEnabled

public boolean isTraceEnabled()
Specified by:
isTraceEnabled in interface LoggerPlugin (src)

trace

public void trace(java.lang.Object message)
Specified by:
trace in interface LoggerPlugin (src)

trace

public void trace(java.lang.Object message,
                  java.lang.Throwable t)
Specified by:
trace in interface LoggerPlugin (src)

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface LoggerPlugin (src)

debug

public void debug(java.lang.Object message)
Specified by:
debug in interface LoggerPlugin (src)

debug

public void debug(java.lang.Object message,
                  java.lang.Throwable t)
Specified by:
debug in interface LoggerPlugin (src)

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface LoggerPlugin (src)

info

public void info(java.lang.Object message)
Specified by:
info in interface LoggerPlugin (src)

info

public void info(java.lang.Object message,
                 java.lang.Throwable t)
Specified by:
info in interface LoggerPlugin (src)

error

public void error(java.lang.Object message)
Specified by:
error in interface LoggerPlugin (src)

error

public void error(java.lang.Object message,
                  java.lang.Throwable t)
Specified by:
error in interface LoggerPlugin (src)

fatal

public void fatal(java.lang.Object message)
Specified by:
fatal in interface LoggerPlugin (src)

fatal

public void fatal(java.lang.Object message,
                  java.lang.Throwable t)
Specified by:
fatal in interface LoggerPlugin (src)

warn

public void warn(java.lang.Object message)
Specified by:
warn in interface LoggerPlugin (src)

warn

public void warn(java.lang.Object message,
                 java.lang.Throwable t)
Specified by:
warn in interface LoggerPlugin (src)