Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 011540ad authored by Arpan Kaphle's avatar Arpan Kaphle
Browse files

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
parent 97dec9ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment