Sends a log message to the MCP client while a tool, a resource, a prompt
or a completion function runs. The client gets the messages at the level
it set and above, info and above until it sets one. Outside a server,
it only checks its arguments, so the function stays callable anywhere.
The server sends at most ten messages per second for a call and drops the
others, and stops once the call has answered. A message must hold no
secret, no personal data and no internal detail that would help an
attack: the server only removes control characters from its text.