Various optimizations.

- the ILoggingTool allows you to pass an arbitrary number of parameters, which it will concatenate
  only when that logging level is turned on. In many cases it means less String concatenation.
- use charAt(chat) instead of startsWith(char)
- removed a needless String instantiation

Change-Id: I9da89d4d51c704c4615e03db5a63678926459f56