|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Logger
Logger is a convenience API (using the Facade design pattern) for logging LogRecords in Logs. We expect this to be extended with new kinds of events to log.
| Constructor Summary | |
Logger(Log log)
Constructor that takes the Log to use. |
|
| Method Summary | |
void |
addMethodEntry(java.lang.Object instance,
java.lang.String method)
Logs a "method entry" event. |
void |
addMethodExit(java.lang.Object instance,
java.lang.String method)
Logs a "method exit" event. |
Log |
getLog()
Accessor method for making use of the Log directly. |
void |
printAll(long windowMS)
Prints events returned from getAll(). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Logger(Log log)
| Method Detail |
public Log getLog()
public void printAll(long windowMS)
public void addMethodEntry(java.lang.Object instance,
java.lang.String method)
public void addMethodExit(java.lang.Object instance,
java.lang.String method)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||