    def PrintFunc(text: str, level: int) -> None:
      """Displays and registers the given text.

      Args:
        text (str): The text to be displayed and registered.
        level (int): The log level of the text.
      """
      rows.append(text)
      if not silent:
        logger.log(level, text)
Displays and registers the given text.

Args:
text (str): The text to be displayed and registered.
level (int): The log level of the text.
libcloudforensics/providers/kubernetes/enumerations/base.py