Skip to content

Conversation

vidai-msft
Copy link
Contributor

This pull request includes changes in two files: src/Common/AzurePSCmdlet.cs and src/Common/MetricHelper.cs. The changes revolve around the handling and logging of sanitizer information. The debug log about the sanitizing process duration has been removed from AzurePSCmdlet.cs. In MetricHelper.cs, the ToString() method has been updated to include the sanitizing duration in the output string if the ShowSecretsWarning property is set to true.

  • [src/Common/AzurePSCmdlet.cs]: Removed the debug log line that displayed the time taken by the sanitizer to process the object of the cmdlet. This change simplifies the output and removes potentially unnecessary information.

  • [src/Common/MetricHelper.cs]: Updated the ToString() method to include the sanitizing duration in the output string if the ShowSecretsWarning property is true. This change provides more detailed information about the sanitizing process when it's relevant.

@vidai-msft vidai-msft merged commit 1c5829b into Azure:main Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants