code: def get_logger(name):
          
          if name is None:
              return NoLogger()
  
          logger = logging.getLogger(name)
          if Logger.use_external_configuration:
              logger.propagate = False
          return logger
docs: Get a logger by name.