code: def _logger():
          
          logger = logging.getLogger(__name__)
          logger.setLevel(logging.DEBUG)
          ch = logging.StreamHandler(sys.stdout)
          ch.setLevel(logging.DEBUG)
          logger.addHandler(ch)
          return logger
docs: Initialize basic stream logger.