class_docstr: Writes event logs into TSV files. Each event type has its own file. Each event record
  has associated episode ID and step number.
  
  :param log_dir: Where event logs should be logged.
class_docstr_tok: ["Writes","event","logs","into","TSV","files",".","Each","event","type","has","its","own","file",".","Each","event","record","has","associated","episode","ID","and","step","number",".",":","param","log_dir",":","Where","event","logs","should","be","logged","."]
code: def __init__(self, log_dir: Union[str, Path] = Path("./event_logs")):
      self.log_dir = Path(log_dir)
      self.log_dir.mkdir(parents=True, exist_ok=True)
  
file_path: maze/maze/core/log_events/log_events_writer_tsv.py
imports: from pathlib import Path
  from typing import Union, Dict, List, Optional
  from maze.core.annotations import override
  from maze.core.log_events.episode_event_log import EpisodeEventLog
  from maze.core.log_events.log_events_writer import LogEventsWriter
label_desc: Use image node_id 1 to create a new LogEventsWriterTSV object from inherited base classes: LogEventsWriter with example: obj = LogEventsWriterTSV(log_dir)