Log item Includes, Removes and Updates during evaluation #10103
Labels
Area: BuildCheck
Area: Debuggability
Issues impacting the diagnosability of builds, including logging and clearer error messages.
Area: Logging
triaged
One of the biggest missing features in logging that keeps hurting us is we don't log item includes, removes and updates during evaluation, with the source location where it happened.
We do log the final set of all items after evaluation is done, but it is currently impossible to see where a specific item was added during evaluation.
We should consider logging a TaskParameterEventArgs perhaps (even though the same is not the best fit semantically), because we already have all the infrastructure for items that are logged during target execution. We can reuse the same infrastructure during evaluation as well.
One potential pitfall here is perf, so need to be careful and measure eval perf before and after. Maybe only do this when the binary logger is present.
This is in complement for the similar request for properties:
#2711
The text was updated successfully, but these errors were encountered: