OSDN Git Service

Readability improvements in Logging
authorBrad Ebinger <breadley@google.com>
Tue, 1 Nov 2016 21:11:38 +0000 (14:11 -0700)
committerBrad Ebinger <breadley@google.com>
Wed, 16 Nov 2016 19:05:15 +0000 (11:05 -0800)
commit0c3541be65fa87519a879c053a7cf4b4526be5db
tree7ea3e6055b8cb8668db81449004ede5c730f54ec
parent8631e19d3883ce6887c09f72eb394f2e22c9cb64
Readability improvements in Logging

We now truncate Session method paths and IDs based on the Logging level
to improve Session Logging readability in logcat. If another external
session is started off of an existing external Session, the preceding
histories are replaced with "..." so that the Session information is not
overwhelming.

Bug: 26571395
Test: Unit Tests and manual tests pass
Change-Id: I9ffda3d64f1072fa6228a82a86116a5e47d18c96
telecomm/java/android/telecom/ConnectionService.java
telecomm/java/android/telecom/Log.java
telecomm/java/android/telecom/Logging/Runnable.java
telecomm/java/android/telecom/Logging/Session.java
telecomm/java/android/telecom/Logging/SessionManager.java