code: def logger():
      
      global _LOGGER
      if _LOGGER is None:
          logging.basicConfig()
          _LOGGER = logging.getLogger()
          _LOGGER.setLevel('INFO')
      return _LOGGER
docs: Access global logger