class_docstr: Interface to access logging statistics generated by the environment. Most envs won't implement this directly,
  but use the LogStatsWrapper to implement this functionality.
docstr: Use this if you do not want to wait for the next :func:`maze.core.log_stats.log_stats.increment_log_step`
  call to update the epoch statistics.
  
  This can be useful in a training scenario to get the results of the evaluation rollouts immediately, instead
  of waiting for the next log step increment to occur.
code: def write_epoch_stats(self) -> None:
      """Use this if you do not want to wait for the next :func:`maze.core.log_stats.log_stats.increment_log_step`
      call to update the epoch statistics.
  
      This can be useful in a training scenario to get the results of the evaluation rollouts immediately, instead
      of waiting for the next log step increment to occur.
      """
  
file_path: maze/maze/core/log_stats/log_stats_env.py
imports: from abc import abstractmethod, ABC
  from typing import Callable, Optional
  from maze.core.log_stats.log_stats import LogStatsLevel, LogStatsValue, LogStatsAggregator
label_desc: Use image node_id 2 for calling the LogStatsEnv obj's underlying member method code with example usage: obj.write_epoch_stats() without return types