public class XLogger extends LoggerWrapper implements Logger
Modifier and Type | Class and Description |
---|---|
static class |
XLogger.Level |
instanceofLAL, logger
ROOT_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
|
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.
|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public XLogger(Logger logger)
logger
- underlying loggerpublic 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.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.