code: def _transform_log_level(str_level):
      if str_level == "info":
          return logging.INFO
      elif str_level == "warning":
          return logging.WARNING
      elif str_level == "critical":
          return logging.CRITICAL
      elif str_level == "debug":
          return logging.DEBUG
      elif str_level == "error":
          return logging.ERROR
      else:
          raise KeyError("Log level error")
  
file_path: dgl/examples/pytorch/seal/logger.py
imports: import logging
  import os
  import time
label_desc: Use image node_id 1 for calling a global function with example usage: _transform_log_level(str_level) and returns: logging, logging, logging, logging, logging