Cleanup log formatter class

 * Added comments to explain params.

Change-Id: I5597ad042e90e0a7de7ed99a949ecd458e6a8ef8
Merge "Cleanup log formatter class"