To print out a vector you can litterally just specify to the print the vector, as such:
var vec : Vector2 = Vector2(1, 1)
print(vec)
If you mean you would like to print the size / speed / length of the vector and not the vector itself then you can do:
var vec : Vector2 = Vector2(1, 1)
print(vec.length())