docstr: Method is called when pickle dumps an object.
  
  Returns
  -------
  Dictionary, representing the object state to be pickled. Ignores
  the self.logger field and only returns the logger name.
docstr_tok: ["Method","is","called","when","pickle","dumps","an","object",".","Returns","--","--","--","-","Dictionary",",","representing","the","object","state","to","be","pickled",".","Ignores","the","self.logger","field","and","only","returns","the","logger","name","."]
code: def __getstate__(self) -> Dict[str, Any]:
      """
      Method is called when pickle dumps an object.
  
      Returns
      -------
      Dictionary, representing the object state to be pickled. Ignores
      the self.logger field and only returns the logger name.
      """
      return {"name": self.name}
  
imports: from typing import Any, Dict, Iterator, Optional, TextIO, Type, cast
  import logging
  import logging.config
  import logging.handlers
  import multiprocessing
  import os
  import pickle
  import random
  import select
  import socketserver
  import struct
  import threading
  import warnings
  from contextlib import contextmanager
  import yaml
label_desc: Use image node_id 2 for calling the PickableLoggerAdapter obj's underlying member method code with example usage: obj.__getstate__() and returns: dict