|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.Log4jXMLCLogger
XMLC logger interface to the enhydra logger.
Constructor Summary | |
Log4jXMLCLogger(org.apache.log4j.Logger logImpl)
Create a logger that delegates to specified category. |
Method Summary | |
boolean |
debugEnabled()
Determine if messages of priority "debug" will be logged. |
boolean |
errorEnabled()
Determine if messages of priority "error" will be logged. |
XMLCLogger |
getChildLogger(String name)
Create a new child logger. |
boolean |
infoEnabled()
Determine if messages of priority "info" will be logged. |
void |
logDebug(String message)
Log a debug message. |
void |
logDebug(String message,
Throwable throwable)
Log a debug message. |
void |
logError(String message)
Log a error message. |
void |
logError(String message,
Throwable throwable)
Log a error message. |
void |
logInfo(String message)
Log a info message. |
void |
logInfo(String message,
Throwable throwable)
Log a info message. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Log4jXMLCLogger(org.apache.log4j.Logger logImpl)
logImpl
- the category to delegate toMethod Detail |
public final boolean infoEnabled()
infoEnabled
in interface XMLCLogger
public final void logInfo(String message)
logInfo
in interface XMLCLogger
message
- the messagepublic final void logInfo(String message, Throwable throwable)
logInfo
in interface XMLCLogger
message
- the messagethrowable
- the throwablepublic final boolean errorEnabled()
errorEnabled
in interface XMLCLogger
public final void logError(String message)
logError
in interface XMLCLogger
message
- the messagepublic final void logError(String message, Throwable throwable)
logError
in interface XMLCLogger
message
- the messagethrowable
- the throwablepublic boolean debugEnabled()
debugEnabled
in interface XMLCLogger
public final void logDebug(String message)
logDebug
in interface XMLCLogger
message
- the messagepublic void logDebug(String message, Throwable throwable)
logDebug
in interface XMLCLogger
message
- the messagethrowable
- the throwablepublic final XMLCLogger getChildLogger(String name)
IllegalArgumentException
if name has an empty element namename
- the subname of this logger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |