code: def get_logger(logger_name: str) -> logging.Logger:
      """Get the logger by name."""
      logger = logging.getLogger(logger_name)
      return logger
  
file_path: SMAC3/smac/utils/logging.py
imports: from __future__ import annotations
  import logging
  import logging.config
  from pathlib import Path
  import yaml
  from typing_extensions import Literal
  import smac
label_desc: Use image node_id 2 for calling a global function with example usage: get_logger(logger_name) and returns: logger