code: public String format(CheckLevel level, MessageFormatter formatter) {
      switch (level) {
        case ERROR:
          return formatter.formatError(this);
  
        case WARNING:
          return formatter.formatWarning(this);
  
        default:
          return null;
      }
    }
docs: Format a message at the given level.
  
  @return the formatted message or {@code null}