|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jdiseq.util.Log
Log class wrapping the logging mechanism used by jDiSeq. Uses delegation pattern.
Method Summary | |
void |
config(java.lang.String message)
Logs a configuration setting. |
void |
entering(java.lang.String sourceClass,
java.lang.String sourceMethod)
Logs that a thread is entering a method. |
void |
exiting(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object result)
Logs that a thread is exiting a method. |
static Log |
getLog()
Returns the log instance. |
void |
info(java.lang.String message)
Logs an information message. |
void |
severe(java.lang.String message)
Logs a severe error situation. |
void |
throwing(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Throwable throwable)
Logs that the program throws an exception. |
void |
warn(java.lang.String message)
Logs a warning message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Log getLog()
public void severe(java.lang.String message)
message
- to be loggedpublic void info(java.lang.String message)
message
- information to be loggedpublic void warn(java.lang.String message)
message
- warning to be loggedpublic void throwing(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Throwable throwable)
sourceClass
- class which creates the exceptionsourceMethod
- method which creates the exceptionthrowable
- the exception being thrownpublic void config(java.lang.String message)
message
- configuration setting being setpublic void entering(java.lang.String sourceClass, java.lang.String sourceMethod)
sourceClass
- class which is enteredsourceMethod
- method which is enteredpublic void exiting(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Object result)
sourceClass
- class which is being exitedsourceMethod
- method which is being exitedresult
- returned to the caller
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |