StepEventLog

class maze.core.log_events.step_event_log.StepEventLog(env_time: int, events: Optional[maze.core.events.event_collection.EventCollection] = None)

Logs all events dispatched by the environment during one step.

Parameters
  • env_time – Internal time of the environment, if available. Otherwise Step ID.

  • events – Events dispatched by an environment during one particular step.

append(event: maze.core.events.event_record.EventRecord)

Append a new event record to the step log.

extend(event_list: Iterable[maze.core.events.event_record.EventRecord])

Append a list of events record to the step log.