code: def _get_logger(name):
      """Gets a logger by name, or creates and configures it for the first time."""
      logger = logging.getLogger(name)
      logger.setLevel(logging.INFO)
      # If the logger is configured, skip the configure
      if not logger.handlers and not logging.getLogger().handlers:
          handler = logging.StreamHandler(sys.stderr)
          logger.addHandler(handler)
      return logger
  
imports: import datetime
  import numpy
  import logging
  import os
  import shutil
  import sys
  import uuid
  import numpy
  from .None import pyll
  from contextlib import contextmanager
label_desc: Use image node_id 2 for calling a global function with example usage: _get_logger(name) and returns: logger