code: def __init__(self):
      from snakemake_interface_executor_plugins.settings import ExecMode
  
      self.logger = _logging.getLogger(__name__)
      self.log_handler = [self.text_handler]
      self.stream_handler = None
      self.printshellcmds = False
      self.printreason = False
      self.debug_dag = False
      self.quiet = set()
      self.logfile = None
      self.last_msg_was_job_info = False
      self.mode = ExecMode.DEFAULT
      self.show_failed_logs = False
      self.logfile_handler = None
      self.dryrun = False
  
imports: import logging
  import platform
  import time
  import datetime
  import sys
  import os
  import json
  import threading
  from functools import partial
  import inspect
  import textwrap
label_desc: Use image node_id 1 to create a new Logger object  with example: obj = Logger()