|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.boot.logger.XmaBrtLogger
Implementation of the org.apache.commons.logging.Log
interface that wraps the XMA Bootruntime Logger Implementation
This class is used to pipe log entries produced by the cookie implementation of apache httpClient into the logfile of XMA Bootruntime.
| Field Summary | |
protected Logger |
logger
The underlying Logger implementation we are using. |
protected java.lang.String |
name
The name of the logger we are wrapping. |
| Constructor Summary | |
XmaBrtLogger(java.lang.String name)
Construct a named instance of this Logger. |
|
| Method Summary | |
void |
debug(java.lang.Object message)
Logs a message with java.util.logging.Level.FINE. |
void |
debug(java.lang.Object message,
java.lang.Throwable exception)
Logs a message with java.util.logging.Level.FINE. |
void |
error(java.lang.Object message)
Logs a message with java.util.logging.Level.SEVERE. |
void |
error(java.lang.Object message,
java.lang.Throwable exception)
Logs a message with java.util.logging.Level.SEVERE. |
void |
fatal(java.lang.Object message)
Logs a message with java.util.logging.Level.SEVERE. |
void |
fatal(java.lang.Object message,
java.lang.Throwable exception)
Logs a message with java.util.logging.Level.SEVERE. |
Logger |
getLogger()
Return the native Logger instance we are using. |
void |
info(java.lang.Object message)
Logs a message with java.util.logging.Level.INFO. |
void |
info(java.lang.Object message,
java.lang.Throwable exception)
Logs a message with java.util.logging.Level.INFO. |
boolean |
isDebugEnabled()
Is debug logging currently enabled? |
boolean |
isErrorEnabled()
Is error logging currently enabled? |
boolean |
isFatalEnabled()
Is fatal logging currently enabled? |
boolean |
isInfoEnabled()
Is info logging currently enabled? |
boolean |
isTraceEnabled()
Is trace logging currently enabled? |
boolean |
isWarnEnabled()
Is warn logging currently enabled? |
void |
trace(java.lang.Object message)
Logs a message with java.util.logging.Level.ALL. |
void |
trace(java.lang.Object message,
java.lang.Throwable exception)
Logs a message with java.util.logging.Level.ALL. |
void |
warn(java.lang.Object message)
Logs a message with java.util.logging.Level.WARNING. |
void |
warn(java.lang.Object message,
java.lang.Throwable exception)
Logs a message with java.util.logging.Level.WARNING. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected transient Logger logger
protected java.lang.String name
| Constructor Detail |
public XmaBrtLogger(java.lang.String name)
name - Name of the logger to be constructed| Method Detail |
public void debug(java.lang.Object message)
java.util.logging.Level.FINE.
debug in interface org.apache.commons.logging.Logmessage - to logLog.debug(Object)
public void debug(java.lang.Object message,
java.lang.Throwable exception)
java.util.logging.Level.FINE.
debug in interface org.apache.commons.logging.Logmessage - to logexception - log this causeLog.debug(Object, Throwable)public void error(java.lang.Object message)
java.util.logging.Level.SEVERE.
error in interface org.apache.commons.logging.Logmessage - to logLog.error(Object)
public void error(java.lang.Object message,
java.lang.Throwable exception)
java.util.logging.Level.SEVERE.
error in interface org.apache.commons.logging.Logmessage - to logexception - log this causeLog.error(Object, Throwable)public void fatal(java.lang.Object message)
java.util.logging.Level.SEVERE.
fatal in interface org.apache.commons.logging.Logmessage - to logLog.fatal(Object)
public void fatal(java.lang.Object message,
java.lang.Throwable exception)
java.util.logging.Level.SEVERE.
fatal in interface org.apache.commons.logging.Logmessage - to logexception - log this causeLog.fatal(Object, Throwable)public Logger getLogger()
public void info(java.lang.Object message)
java.util.logging.Level.INFO.
info in interface org.apache.commons.logging.Logmessage - to logLog.info(Object)
public void info(java.lang.Object message,
java.lang.Throwable exception)
java.util.logging.Level.INFO.
info in interface org.apache.commons.logging.Logmessage - to logexception - log this causeLog.info(Object, Throwable)public boolean isDebugEnabled()
isDebugEnabled in interface org.apache.commons.logging.Logpublic boolean isErrorEnabled()
isErrorEnabled in interface org.apache.commons.logging.Logpublic boolean isFatalEnabled()
isFatalEnabled in interface org.apache.commons.logging.Logpublic boolean isInfoEnabled()
isInfoEnabled in interface org.apache.commons.logging.Logpublic boolean isTraceEnabled()
isTraceEnabled in interface org.apache.commons.logging.Logpublic boolean isWarnEnabled()
isWarnEnabled in interface org.apache.commons.logging.Logpublic void trace(java.lang.Object message)
java.util.logging.Level.ALL.
trace in interface org.apache.commons.logging.Logmessage - to logLog.trace(Object)
public void trace(java.lang.Object message,
java.lang.Throwable exception)
java.util.logging.Level.ALL.
trace in interface org.apache.commons.logging.Logmessage - to logexception - log this causeLog.trace(Object, Throwable)public void warn(java.lang.Object message)
java.util.logging.Level.WARNING.
warn in interface org.apache.commons.logging.Logmessage - to logLog.warn(Object)
public void warn(java.lang.Object message,
java.lang.Throwable exception)
java.util.logging.Level.WARNING.
warn in interface org.apache.commons.logging.Logmessage - to logexception - log this causeLog.warn(Object, Throwable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||