|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qedeq.kernel.bo.log.QedeqLog
public final class QedeqLog
This class organizes the logging. TODO 20110606 m31: this class is a singleton but it would be better if it is not to accomplish this we must put a getLogInstance method in all important BO classes.
| Method Summary | |
|---|---|
void |
addLog(LogListener log)
Add listener. |
static QedeqLog |
getInstance()
Get instance of Logger. |
void |
logFailureReply(java.lang.String text,
java.lang.String url,
java.lang.String description)
Log failure reply for an request. |
void |
logFailureState(java.lang.String text,
java.lang.String url,
java.lang.String description)
Log failure state for URL. |
void |
logMessage(java.lang.String text)
Log message. |
void |
logMessageState(java.lang.String text,
java.lang.String url)
Log message state for URL. |
void |
logRequest(java.lang.String text,
java.lang.String url)
Log request. |
void |
logSuccessfulReply(java.lang.String text,
java.lang.String url)
Log successful reply for an request. |
void |
logSuccessfulState(java.lang.String text,
java.lang.String url)
Log successful state for URL. |
void |
removeLog(LogListener log)
Remove listener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final QedeqLog getInstance()
public void addLog(LogListener log)
log - Add this listener.public void removeLog(LogListener log)
log - Remove this listener.
public void logMessageState(java.lang.String text,
java.lang.String url)
LogListener
logMessageState in interface LogListenertext - Message state.url - URL.
public void logFailureState(java.lang.String text,
java.lang.String url,
java.lang.String description)
LogListener
logFailureState in interface LogListenertext - Failure state.url - URL.description - Reason.
public void logSuccessfulState(java.lang.String text,
java.lang.String url)
LogListener
logSuccessfulState in interface LogListenertext - State.url - URL.
public void logRequest(java.lang.String text,
java.lang.String url)
LogListener
logRequest in interface LogListenertext - Request.url - URL.
public void logSuccessfulReply(java.lang.String text,
java.lang.String url)
LogListener
logSuccessfulReply in interface LogListenertext - Reply.url - URL.
public void logFailureReply(java.lang.String text,
java.lang.String url,
java.lang.String description)
LogListener
logFailureReply in interface LogListenertext - Reply.url - URL.description - Reason for reply.public void logMessage(java.lang.String text)
LogListener
logMessage in interface LogListenertext - Message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||