Adds a Quickly Designed Logging Setup
A new object is generated that mimics the proto object, but allows us to hold state better (CandidateProviderMetrics and ChosenProviderMetrics). Then within our calls, at designated locations in the query and final phase, we set these objects to have certain values. This occurs in base classes, such as ProviderSession, or in specific parts of RequestSession where it makes most sense. Finally, in all existing logging methods, a way to retrieve the data is used. To avoid issues with slow or expired requests coming back, the iteration is protected so that the log occurs for what is obtained at the moment (synchronized...() methods don't prevent iteration issues). Bug: 267669240 Bug: 253157163 Test: Builds for now Change-Id: Ia51c0fbf6bd4954721c15776bb3a2cfee508c06e
Loading
Please register or sign in to comment