class_docstr: A minimal interface concrete log statistics writers must implement.
class_docstr_tok: ["A","minimal","interface","concrete","log","statistics","writers","must","implement","."]
docstr: Close writer and clean up.
          
docstr_tok: ["Close","writer","and","clean","up","."]
code: def close(self) -> None:
      """Close writer and clean up."""
  
imports: from abc import ABC, abstractmethod
  from collections import defaultdict
  from enum import Enum
  from typing import Union, Callable, Dict, Optional, NamedTuple, List, Type, TypeVar, Tuple, Any
  import numpy
  from maze.core.events.event_record import EventRecord
  from maze.core.events.event_topic_factory import event_topic_factory
label_desc: Use image node_id 2 for calling the LogStatsWriter obj's underlying member method code with example usage: obj.close() without return types