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

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


org.jboss.logging
Interface LoggerPlugin

All Known Implementing Classes:
JDK14LoggerPlugin, Log4jLoggerPlugin, NullLoggerPlugin

public interface LoggerPlugin

Defines a "pluggable" login module. In fact, this is only used to split between log4j and /dev/null. Choice is made in org.jboss.logging.Logger

Version:
$Revision: 1.1 $

Revisions:

30 mai 2002 Sacha Labourey:

  • First implementation
Author:
Sacha Labourey.
See Also:
Logger, Log4jLoggerPlugin, 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)
           
 

Method Detail

init

public void init(String name)

isTraceEnabled

public boolean isTraceEnabled()

trace

public void trace(Object message)

trace

public void trace(Object message,
                  Throwable t)

isDebugEnabled

public boolean isDebugEnabled()

debug

public void debug(Object message)

debug

public void debug(Object message,
                  Throwable t)

isInfoEnabled

public boolean isInfoEnabled()

info

public void info(Object message)

info

public void info(Object message,
                 Throwable t)

warn

public void warn(Object message)

warn

public void warn(Object message,
                 Throwable t)

error

public void error(Object message)

error

public void error(Object message,
                  Throwable t)

fatal

public void fatal(Object message)

fatal

public void fatal(Object message,
                  Throwable t)


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