|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.logging.Log4jLoggerPlugin
Delegate for org.jboss.logging.Logger logging to log4j. Body of implementation mainly copied from old Logger implementation.
Logger
(src) ,
LoggerPlugin
(src) Constructor Summary | |
Log4jLoggerPlugin()
|
Method Summary | |
void |
debug(java.lang.Object message)
Issue a log msg with a level of DEBUG. |
void |
debug(java.lang.Object message,
java.lang.Throwable t)
Issue a log msg and throwable with a level of DEBUG. |
void |
error(java.lang.Object message)
Issue a log msg with a level of ERROR. |
void |
error(java.lang.Object message,
java.lang.Throwable t)
Issue a log msg and throwable with a level of ERROR. |
void |
fatal(java.lang.Object message)
Issue a log msg with a level of FATAL. |
void |
fatal(java.lang.Object message,
java.lang.Throwable t)
Issue a log msg and throwable with a level of FATAL. |
Category |
getCategory()
|
org.apache.log4j.Logger |
getLogger()
Exposes the delegate Log4j Logger. |
void |
info(java.lang.Object message)
Issue a log msg with a level of INFO. |
void |
info(java.lang.Object message,
java.lang.Throwable t)
Issue a log msg and throwable with a level of INFO. |
void |
init(java.lang.String name)
|
boolean |
isDebugEnabled()
Check to see if the TRACE level is enabled for this logger. |
boolean |
isInfoEnabled()
Check to see if the INFO level is enabled for this logger. |
boolean |
isTraceEnabled()
|
void |
log(Priority p,
java.lang.Object message)
Deprecated. Use Level versions. |
void |
log(Priority p,
java.lang.Object message,
java.lang.Throwable t)
Deprecated. Use Level versions. |
void |
trace(java.lang.Object message)
Issue a log msg with a level of TRACE. |
void |
trace(java.lang.Object message,
java.lang.Throwable t)
Issue a log msg and throwable with a level of TRACE. |
void |
warn(java.lang.Object message)
Issue a log msg with a level of WARN. |
void |
warn(java.lang.Object message,
java.lang.Throwable t)
Issue a log msg and throwable with a level of WARN. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Log4jLoggerPlugin()
Method Detail |
public void init(java.lang.String name)
init
in interface LoggerPlugin (src)
public Category getCategory()
public org.apache.log4j.Logger getLogger()
public boolean isTraceEnabled()
isTraceEnabled
in interface LoggerPlugin (src)
public void trace(java.lang.Object message)
trace
in interface LoggerPlugin (src)
public void trace(java.lang.Object message, java.lang.Throwable t)
trace
in interface LoggerPlugin (src)
public boolean isDebugEnabled()
isDebugEnabled
in interface LoggerPlugin (src)
trace(Object)
method invocation would pass
the msg to the configured appenders, false otherwise.public void debug(java.lang.Object message)
debug
in interface LoggerPlugin (src)
public void debug(java.lang.Object message, java.lang.Throwable t)
debug
in interface LoggerPlugin (src)
public boolean isInfoEnabled()
isInfoEnabled
in interface LoggerPlugin (src)
info(Object)
method invocation would pass
the msg to the configured appenders, false otherwise.public void info(java.lang.Object message)
info
in interface LoggerPlugin (src)
public void info(java.lang.Object message, java.lang.Throwable t)
info
in interface LoggerPlugin (src)
public void warn(java.lang.Object message)
warn
in interface LoggerPlugin (src)
public void warn(java.lang.Object message, java.lang.Throwable t)
warn
in interface LoggerPlugin (src)
public void error(java.lang.Object message)
error
in interface LoggerPlugin (src)
public void error(java.lang.Object message, java.lang.Throwable t)
error
in interface LoggerPlugin (src)
public void fatal(java.lang.Object message)
fatal
in interface LoggerPlugin (src)
public void fatal(java.lang.Object message, java.lang.Throwable t)
fatal
in interface LoggerPlugin (src)
public void log(Priority p, java.lang.Object message)
public void log(Priority p, java.lang.Object message, java.lang.Throwable t)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |