StepEventLog

class maze.core.log_events.step_event_log.StepEventLog(env_time: int, events: EventCollection | None = 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: EventRecord)

Append a new event record to the step log.

extend(event_list: Iterable[EventRecord])

Append a list of events record to the step log.