|
|||||||||||
| PREV CLASS NEXT CLASS | 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.
Revisions:
3. mai 2002 Sacha Labourey:
4. february 2003 Dag Liodden:
Logger to Log4JLogger,
LoggerPlugin| Constructor Summary | |
Log4jLoggerPlugin()
|
|
| Method Summary | |
void |
debug(Object message)
Issue a log msg with a level of DEBUG. |
void |
debug(Object message,
Throwable t)
Issue a log msg and throwable with a level of DEBUG. |
void |
error(Object message)
Issue a log msg with a level of ERROR. |
void |
error(Object message,
Throwable t)
Issue a log msg and throwable with a level of ERROR. |
void |
fatal(Object message)
Issue a log msg with a level of FATAL. |
void |
fatal(Object message,
Throwable t)
Issue a log msg and throwable with a level of FATAL. |
org.apache.log4j.Category |
getCategory()
|
org.apache.log4j.Logger |
getLogger()
Exposes the delegate Log4j Logger. |
void |
info(Object message)
Issue a log msg with a level of INFO. |
void |
info(Object message,
Throwable t)
Issue a log msg and throwable with a level of INFO. |
void |
init(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(org.apache.log4j.Level l,
Object message)
Issue a log msg with the given level. |
void |
log(org.apache.log4j.Level l,
Object message,
Throwable t)
Issue a log msg with the given level. |
void |
log(org.apache.log4j.Priority p,
Object message)
Deprecated. Use Level versions. |
void |
log(org.apache.log4j.Priority p,
Object message,
Throwable t)
Deprecated. Use Level versions. |
void |
trace(Object message)
Issue a log msg with a level of TRACE. |
void |
trace(Object message,
Throwable t)
Issue a log msg and throwable with a level of TRACE. |
void |
warn(Object message)
Issue a log msg with a level of WARN. |
void |
warn(Object message,
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(String name)
init in interface LoggerPluginpublic org.apache.log4j.Category getCategory()
public org.apache.log4j.Logger getLogger()
public boolean isTraceEnabled()
isTraceEnabled in interface LoggerPluginpublic void trace(Object message)
trace in interface LoggerPluginpublic void trace(Object message, Throwable t)
trace in interface LoggerPluginpublic boolean isDebugEnabled()
isDebugEnabled in interface LoggerPlugintrace(Object) method invocation would pass
the msg to the configured appenders, false otherwise.public void debug(Object message)
debug in interface LoggerPluginpublic void debug(Object message, Throwable t)
debug in interface LoggerPluginpublic boolean isInfoEnabled()
isInfoEnabled in interface LoggerPlugininfo(Object) method invocation would pass
the msg to the configured appenders, false otherwise.public void info(Object message)
info in interface LoggerPluginpublic void info(Object message, Throwable t)
info in interface LoggerPluginpublic void warn(Object message)
warn in interface LoggerPluginpublic void warn(Object message, Throwable t)
warn in interface LoggerPluginpublic void error(Object message)
error in interface LoggerPluginpublic void error(Object message, Throwable t)
error in interface LoggerPluginpublic void fatal(Object message)
fatal in interface LoggerPluginpublic void fatal(Object message, Throwable t)
fatal in interface LoggerPlugin
public void log(org.apache.log4j.Priority p,
Object message)
public void log(org.apache.log4j.Priority p,
Object message,
Throwable t)
public void log(org.apache.log4j.Level l,
Object message)
public void log(org.apache.log4j.Level l,
Object message,
Throwable t)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||