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
Merge pull request #6 from acarabott/upstream

overload sendLogToClient with string version