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: Obtain a single value from the statistics dict.
  
  :param event: The event interface method of the value in question
  :param level: The statistics aggregation level
                (LogStatsLevel.STEP, LogStatsLevel.EPISODE or LogStatsLevel.EPOCH)
  :param name: The *output_name* of the statistics in case it has been specified in
               :func:`maze.core.log_stats.event_decorators.define_epoch_stats`
  
  :return: The statistics dictionary
code: def get_stats_value(
      self,
      event: Callable,
      level: LogStatsLevel,
      name: Optional[str] = None,
  ) -> LogStatsValue:
      """Obtain a single value from the statistics dict.
  
      :param event: The event interface method of the value in question
      :param level: The statistics aggregation level
                    (LogStatsLevel.STEP, LogStatsLevel.EPISODE or LogStatsLevel.EPOCH)
      :param name: The *output_name* of the statistics in case it has been specified in
                   :func:`maze.core.log_stats.event_decorators.define_epoch_stats`
  
      :return: The statistics dictionary
      """
  
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 4 for calling the LogStatsEnv obj's underlying member method code with example usage: obj.get_stats_value(event, level, name) without return types