|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.slf4j.ext.LoggerWrapper
org.slf4j.ext.XLogger
public class XLogger
A utility that provides standard mechanisms for logging certain kinds of activities.
Nested Class Summary | |
---|---|
static class |
XLogger.Level
|
Field Summary |
---|
Fields inherited from interface org.slf4j.Logger |
---|
ROOT_LOGGER_NAME |
Constructor Summary | |
---|---|
XLogger(Logger logger)
Given an underlying logger, construct an XLogger |
Method Summary | |
---|---|
void |
catching(Throwable throwable)
Log an exception being caught. |
void |
catching(XLogger.Level level,
Throwable throwable)
Log an exception being caught allowing the log level to be specified. |
void |
entry(Object... argArray)
Log method entry. |
void |
exit()
Log method exit |
void |
exit(Object result)
Log method exit |
void |
throwing(Throwable throwable)
Log an exception being thrown. |
void |
throwing(XLogger.Level level,
Throwable throwable)
Log an exception being thrown allowing the log level to be specified. |
Methods inherited from class org.slf4j.ext.LoggerWrapper |
---|
debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isErrorEnabled, isErrorEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.slf4j.Logger |
---|
debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isErrorEnabled, isErrorEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn |
Constructor Detail |
---|
public XLogger(Logger logger)
logger
- underlying loggerMethod Detail |
---|
public void entry(Object... argArray)
argArray
- supplied parameterspublic void exit()
public void exit(Object result)
result
- The result of the method being exitedpublic void throwing(Throwable throwable)
throwable
- the exception being caught.public void throwing(XLogger.Level level, Throwable throwable)
level
- the logging level to use.throwable
- the exception being caught.public void catching(Throwable throwable)
throwable
- the exception being caught.public void catching(XLogger.Level level, Throwable throwable)
level
- the logging level to use.throwable
- the exception being caught.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |