|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ecyrd.speed4j.log.Log
public abstract class Log
Base class for the Logs. A Log is an abstract entity that encapsulates the knowledge how to manage the information contained by StopWatches upon their stop() method.
| Constructor Summary | |
|---|---|
Log()
|
|
| Method Summary | |
|---|---|
String |
getName()
Returns the name of the Log. |
boolean |
isEnabled()
Returns true, if this Log is enabled. |
abstract void |
log(StopWatch sw)
Logs the given StopWatch. |
void |
setEnable(boolean value)
Enable or disable this Log. |
void |
setName(String name)
Sets the name of the Log. |
void |
shutdown()
Shuts the Log down. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Log()
| Method Detail |
|---|
public void setEnable(boolean value)
value - True, if enabled. False otherwise.public boolean isEnabled()
public void setName(String name)
name - Name of the Log.public String getName()
public abstract void log(StopWatch sw)
sw - The StopWatch to log.public void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||