TAPL: Tracing only changed part of the context for diags
Printing the whole context stack has proven to be harder to decipher. Change-Id: Ic11981884491fc96b939f4736ec974a1640c0304
This commit is contained in:
@@ -260,9 +260,9 @@ public final class LauncherInstrumentation {
|
||||
|
||||
Closable addContextLayer(String piece) {
|
||||
mDiagnosticContext.addLast(piece);
|
||||
log("Added context: " + getContextDescription());
|
||||
log("Entering context: " + piece);
|
||||
return () -> {
|
||||
log("Removing context: " + getContextDescription());
|
||||
log("Leaving context: " + piece);
|
||||
mDiagnosticContext.removeLast();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user