code: def get_logger(logger_name: str) -> Logger:
      """Gets a logger and make it avaliable for further use.
  
      Args:
          logger_name: The name of the logger.
  
      Returns:
          (Logger): Logger instance.
  
      """
  
      logging.setLoggerClass(Logger)
  
      logger = logging.getLogger(logger_name)
  
      logger.setLevel(LOG_LEVEL)
      logger.addHandler(get_console_handler())
      logger.addHandler(get_timed_file_handler())
      logger.propagate = False
  
      return logger
  
file_path: opytimizer/opytimizer/utils/logging.py
imports: import logging
  import sys
  from logging import StreamHandler
  from logging.handlers import TimedRotatingFileHandler
label_desc: Use image node_id 3 for calling a global function with example usage: get_logger(logger_name) and returns: logger