code: def __init__(
      self,
      name: str,
      verbose: bool = False,
      log_level: int = logging.INFO,
  ) -> None:
      self.name = name
      self.verbose = verbose
  
      self.logger = logging.getLogger(name)
      handler = logging.FileHandler(f"{name}.log")
      handler.setFormatter(
          logging.Formatter("%(asctime)s %(levelname)s %(message)s")
      )
      self.logger.addHandler(handler)
      self.logger.setLevel(log_level)
  
imports: import argparse
  import logging
  import subprocess
  import sys
  from dataclasses import dataclass, fields
  from typing import Any, List
label_desc: Use image node_id 1 to create a new Logger object  with example: obj = Logger(name, verbose, log_level)