docstr: Remove all formats from logger
docstr_tok: ["Remove","all","formats","from","logger"]
code: def remove_formats(self):
      """Remove all formats from logger"""
      formatters = []
      for handler in self.handlers:
          formatters.append(handler.formatter)
          handler.setFormatter(logging.Formatter("%(message)s"))
  
      return formatters
  
file_path: generalized-moe/domainbed/lib/logger.py
imports: import sys
  import logging
label_desc: Use image node_id 3 for calling the Logger obj's underlying member method code with example usage: obj.remove_formats() and returns: formatters