Not entirely sure what you're asking for, but this sends a message to a client:
Code:
SomeClientPtr->Message(0, "Some Message");
You do need a pointer to the client you wish to send to, but assuming it is for debugging only you could rig something up to either look up a particular client or just save some state somewhere that has the client pointer in it.