class_docstr: `StatsRecorder` with PFRL's `ContinuingTimeLimit` support.
  
  For details, see
  https://github.com/openai/gym/blob/master/gym/wrappers/monitoring/stats_recorder.py
class_docstr_tok: ["`","StatsRecorder","`","with","PFRL","'s","`","ContinuingTimeLimit","`","support",".","For","details",",","see","https",":","\/\/github.com\/openai\/gym\/blob\/master\/gym\/wrappers\/monitoring\/stats_recorder.py"]
code: def __init__(
      self,
      directory,
      file_prefix,
      autoreset=False,
      env_id=None,
      logger=getLogger(__name__),
  ):
      super().__init__(
          directory, file_prefix, autoreset=autoreset, env_id=env_id
      )
      self._save_completed = True
      self.logger = logger
  
file_path: pfrl/pfrl/wrappers/monitor.py
imports: import time
  from logging import getLogger
label_desc: Use image node_id 1 to create a new _StatsRecorder object from inherited base classes: _GymStatsRecorder with example: obj = _StatsRecorder(directory, file_prefix, autoreset, env_id, logger)