|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.services.logger.log4j.LOG4JLogger
public class LOG4JLogger
This class is an implementation of the ELogger interface that redirects all logging messages to the LOG4J framework
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.bankframe.services.logger.ELogger |
|---|
ELogger.Context |
| Field Summary |
|---|
| Fields inherited from interface com.bankframe.services.logger.ELogger |
|---|
DEFAULT_CONTEXT |
| Constructor Summary | |
|---|---|
LOG4JLogger(org.apache.log4j.Logger logger)
Default constructor |
|
| Method Summary | |
|---|---|
void |
debug(String msg)
This method outputs a DEBUG level message |
void |
debug(String msg,
Throwable t)
This method outputs a DEBUG level message |
void |
error(String msg)
This method outputs a ERROR level message |
void |
error(String msg,
Throwable t)
This method outputs a ERROR level message |
void |
fatal(String msg)
This method outputs a FATAL level message |
void |
fatal(String msg,
Throwable t)
This method outputs a FATAL level message |
ELogger.Context |
getContext()
This method returns the Logging context |
void |
info(String msg)
This method outputs a INFO level message |
void |
info(String msg,
Throwable t)
This method outputs a INFO level message |
boolean |
isDebugEnabled()
This method indicates whether debug level messages are enabled |
boolean |
isErrorEnabled()
This method indicates whether error level messages are enabled |
boolean |
isFatalEnabled()
This method indicates whether fatal level messages are enabled |
boolean |
isInfoEnabled()
This method indicates whether info level messages are enabled |
boolean |
isWarnEnabled()
This method indicates whether warn level messages are enabled |
void |
warn(String msg)
This method outputs a WARN level message |
void |
warn(String msg,
Throwable t)
This method outputs a WARN level message |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LOG4JLogger(org.apache.log4j.Logger logger)
logger - The LOG4J logger object to use for logging messages| Method Detail |
|---|
public void debug(String msg)
ELogger
debug in interface ELoggermsg - The message to print outELogger.debug(String)
public void debug(String msg,
Throwable t)
ELogger
debug in interface ELoggermsg - String The message to print outt - ThrowableELogger.debug(String,Throwable)public void info(String msg)
ELogger
info in interface ELoggermsg - String The message to print outELogger.info(String)
public void info(String msg,
Throwable t)
ELogger
info in interface ELoggermsg - String The message to print outt - The Throwable associated with this messageELogger.info(String,Throwable)public void warn(String msg)
ELogger
warn in interface ELoggermsg - String The message to print outELogger.warn(String)
public void warn(String msg,
Throwable t)
ELogger
warn in interface ELoggermsg - String The message to print outt - The Throwable associated with this messageELogger.warn(String,Throwable)public void error(String msg)
ELogger
error in interface ELoggermsg - String The message to print outELogger.error(String)
public void error(String msg,
Throwable t)
ELogger
error in interface ELoggermsg - String The message to print outt - The Throwable associated with this messageELogger.error(String,Throwable)public void fatal(String msg)
ELogger
fatal in interface ELoggermsg - String The message to print outELogger.fatal(String)
public void fatal(String msg,
Throwable t)
ELogger
fatal in interface ELoggermsg - String The message to print outt - The Throwable associated with this messageELogger.fatal(String,Throwable)public ELogger.Context getContext()
ELogger
getContext in interface ELoggerELogger.getContext()public boolean isDebugEnabled()
ELogger
isDebugEnabled in interface ELoggerELogger.isDebugEnabled()public boolean isErrorEnabled()
ELogger
isErrorEnabled in interface ELoggerELogger.isErrorEnabled()public boolean isFatalEnabled()
ELogger
isFatalEnabled in interface ELoggerELogger.isFatalEnabled()public boolean isInfoEnabled()
ELogger
isInfoEnabled in interface ELoggerELogger.isInfoEnabled()public boolean isWarnEnabled()
ELogger
isWarnEnabled in interface ELoggerELogger.isWarnEnabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||