public class AgentLogger extends Logger
| Constructor and Description |
|---|
AgentLogger(java.lang.String fileName)
Creates an agent logger.
|
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
getAgentInformation(Agent agent)
Gets the agent information that needs to be printed.
|
void |
update(long time,
boolean ended)
Updates the log.
|
closeLog, printLine, setSimulatorpublic AgentLogger(java.lang.String fileName)
fileName - The file name.private java.lang.String getAgentInformation(Agent agent)
agent - The agent.