Enable transport logging based on isLoggable().

Instead of creating a new public API that requires developers to call
it, offer to enable transport logging based on the class name.

Bug: 137890034
Test: manual
Change-Id: Iea2a24310bd100be62a5c525108d17bafe7d11ea
1 file changed