JoeyPhxAZ:
because its a formatter
That's a bad assumption.
The function needs to be called whenever the variable is updated, otherwise, buf[] wouldn't get updated.
So yes, it will go into loop(), wherever you want buf[] to contain the updated message.