class_docstr: Logs all events dispatched by the environment during one step.
  
  :param env_time: Internal time of the environment, if available. Otherwise Step ID.
  :param events: Events dispatched by an environment during one particular step.
class_docstr_tok: ["Logs","all","events","dispatched","by","the","environment","during","one","step",".",":","param","env_time",":","Internal","time","of","the","environment",",","if","available",".","Otherwise","Step","ID",".",":","param","events",":","Events","dispatched","by","an","environment","during","one","particular","step","."]
code: def __init__(
      self, env_time: int, events: Optional[EventCollection] = None
  ):
      self.events = events if events is not None else EventCollection()
      self.env_time = env_time
  
imports: from typing import Iterable, Optional
  from maze.core.events.event_collection import EventCollection
  from maze.core.events.event_service import EventRecord
label_desc: Use image node_id 1 to create a new StepEventLog object  with example: obj = StepEventLog(env_time, events)