站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 common API Documentation 英文版文档

NullLoggerPlugin (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档


org.jboss.logging
Class NullLoggerPlugin

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

public class NullLoggerPlugin
extends Object
implements LoggerPlugin

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

Version:
$Revision: 1.1 $

Revisions:

30 mai 2002 Sacha Labourey:

  • First implementation
Author:
Sacha Labourey.
See Also:
Logger, LoggerPlugin

Constructor Summary
NullLoggerPlugin()
           
 
Method Summary
 void debug(Object message)
           
 void debug(Object message, Throwable t)
           
 void error(Object message)
           
 void error(Object message, Throwable t)
           
 void fatal(Object message)
           
 void fatal(Object message, Throwable t)
           
 void info(Object message)
           
 void info(Object message, Throwable t)
           
 void init(String name)
           
 boolean isDebugEnabled()
           
 boolean isInfoEnabled()
           
 boolean isTraceEnabled()
           
 void trace(Object message)
           
 void trace(Object message, Throwable t)
           
 void warn(Object message)
           
 void warn(Object message, 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(String name)
Specified by:
init in interface LoggerPlugin

isTraceEnabled

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

trace

public void trace(Object message)
Specified by:
trace in interface LoggerPlugin

trace

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

isDebugEnabled

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

debug

public void debug(Object message)
Specified by:
debug in interface LoggerPlugin

debug

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

isInfoEnabled

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

info

public void info(Object message)
Specified by:
info in interface LoggerPlugin

info

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

error

public void error(Object message)
Specified by:
error in interface LoggerPlugin

error

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

fatal

public void fatal(Object message)
Specified by:
fatal in interface LoggerPlugin

fatal

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

warn

public void warn(Object message)
Specified by:
warn in interface LoggerPlugin

warn

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


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.