overload sendLogToClient with string version

add a version of sendLogToClient that simply accepts a string.
The char* / format version calls this new method once formatted to a string.
It also now accepts const char*, avoiding deprecation warnings
Adds protection against format args >= 1024