|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.ObjectdecisionMakingSystem.DMSLogger
public class DMSLogger
DMSLogger logs agents activity to a file. The output is quite simple. It logs just a time and a name of an action and its status - started, interrupted, finished, failed.
| Constructor Summary | |
|---|---|
DMSLogger(Logger log,
String filename)
|
|
| Method Summary | |
|---|---|
void |
cleanUp()
Called after the end of agent's life. |
void |
logToFile(String text)
|
void |
logToFilePlainText(String text)
|
void |
update(DMSMemoryVO memoryVO)
This method should be called after every step of the logic. |
void |
writeAMessage(String message)
Enables to write a certain message from the DMS to the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DMSLogger(Logger log,
String filename)
| Method Detail |
|---|
public void update(DMSMemoryVO memoryVO)
memoryVO - public void writeAMessage(String message)
message - public void cleanUp()
cleanUp in interface FileLogepisodibot.Main.shutdownAgent()public void logToFile(String text)
logToFile in interface FileLogpublic void logToFilePlainText(String text)
logToFilePlainText in interface FileLog
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||