class_docstr: A custom subclass of 'logging.Logger' that keeps a set of messages to
  implement {debug,info,etc.}_once() methods.
class_docstr_tok: ["A","custom","subclass","of","'logging.Logger","'","that","keeps","a","set","of","messages","to","implement","{","debug",",","info",",","etc",".","}","_once","(",")","methods","."]
code: def __init__(self, name):
      super().__init__(name)
      self._seen_msgs = set()
  
file_path: allennlp/allennlp/common/logging.py
imports: import logging
  from logging import Filter
  import os
  from os import PathLike
  from typing import Union
  import sys
label_desc: Use image node_id 1 to create a new AllenNlpLogger object from inherited base classes: logging with example: obj = AllenNlpLogger(name)