code: def colorize_logger(logger, stream=None, level=logging.DEBUG):
      
      logger.handlers = []
      logger.filters = []
      stream = stream or sys.stderr
      handler = logging.StreamHandler(stream=stream)
      handler.setLevel(level)
      handler.setFormatter(Colorful())
      logger.addHandler(handler)
      return logger
docs: resets the handlers and formatters in a given logger, and sets it up with Colorful() logs