Add API usage log

This will be used to track usage of deprecated features.

Change-Id: Ica4439c03d337d833a33356ecfe32269a748b3b8