SW-49 Better logging information

Added length information to formatStringBuf
Merge pull request #9 from GiuX/patch-5

SW-49 Better logging information