public class XLogger extends LoggerWrapper implements Logger
| Modifier and Type | Class and Description |
|---|---|
static class |
XLogger.Level |
instanceofLAL, loggerROOT_LOGGER_NAME| Constructor and Description |
|---|
XLogger(Logger logger)
Given an underlying logger, construct an XLogger
|
| Modifier and Type | Method and Description |
|---|---|
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
|
<T> T |
exit(T result)
Log method exit
|
<T extends Throwable> |
throwing(T throwable)
Log an exception being thrown.
|
<T extends Throwable> |
throwing(XLogger.Level level,
T throwable)
Log an exception being thrown allowing the log level to be specified.
|
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, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdebug, 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, warnpublic 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.Copyright © 2005–2017 QOS.ch. All rights reserved.