|
||||||||||
| 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 class org.slf4j.ext.LoggerWrapper |
|---|
instanceofLAL, logger |
| 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 |
|
|
exit(T result)
Log method exit |
|
|
throwing(T throwable)
Log an exception being thrown. |
|
|
throwing(XLogger.Level level,
T 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 logger| Method Detail |
|---|
public void entry(Object... argArray)
argArray - supplied parameterspublic void exit()
public <T> T exit(T result)
result - The result of the method being exitedpublic <T extends Throwable> T throwing(T throwable)
throwable - the exception being caught.
public <T extends Throwable> T throwing(XLogger.Level level,
T 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 | |||||||||