Add HTC Logging functions to support newer HTC props.

* ifdef'd with HTCLOG.

Change-Id: I70d0a6878dddf0f41d96735febda82c93496d8ec