Add size profiling to network response debug logs.

This commit is contained in:
dosiecki 2015-06-01 13:42:35 -07:00
parent 3862c6b371
commit 927b323bd9

View file

@ -86,7 +86,7 @@ public class APIResponse {
}
if (AppConstants.VERBOSE_LOG_NET) {
Log.d(this.getClass().getName(), String.format("called %s in %dms and %dms", request.urlString(), connectTime, readTime));
Log.d(this.getClass().getName(), String.format("called %s in %dms and %dms to read %dB", request.urlString(), connectTime, readTime, responseBody.length()));
}
} else {