Azure.Sdk.Tools.TestProxy_1.0.0-dev.20241101.1
Pre-release
Pre-release
Test proxy logs - sanitizer info (#9164) * draft testing logs for sanitizerAdd ToString, logging, and SanitizerId; update commentsAdded a ToString method to RecordEntry for string representation.Introduced logging in RecordSession to track sanitizer changes.Added SanitizerId to RecordedTestSanitizer for unique identification.Updated RegisteredSanitizer constructor to set SanitizerId.Corrected copyright comment in RequestOrResponse.cs.Added necessary using directives to RecordEntry.cs. * Enhance logging and string representation in RecordEntry * simplification * log message improve * unneeded pkg * Update tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/RecordSession.cs Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com> * Update tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/RecordSession.cs Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com> * address feedback, modifications are more granular, logs under Debug flag * sets flags only under Debug flag for fewer computations * remove ToString impl * Environment.NewLine, null checks for body, fix Logging tests * fix build and if-check indentation * Address feedback * fix logging test * improve the logging experience * Use StringBuilder * address feedback; logging modifications when entries are removed * remove modified flag tracker logic in favour of tracking them at the time of sanitization * format * default getter and setter back * fix cloning body bug * log improvements and comments * simplifications * fix tests * revert linebreak change --------- Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>