Skip to content

style(sfDataQuery, sfAccountRoles): enhance debug logging with visual indicators#28

Merged
rulasg merged 1 commit intomainfrom
improvements
Mar 15, 2026
Merged

style(sfDataQuery, sfAccountRoles): enhance debug logging with visual indicators#28
rulasg merged 1 commit intomainfrom
improvements

Conversation

@rulasg
Copy link
Owner

@rulasg rulasg commented Mar 15, 2026

Improve debug logging by adding visual indicators for cache hits and misses, as well as command execution in the SfDataQuery and SfAccountRoles functions. This enhancement aids in better tracking and understanding of the logging output.


Write-MyDebug " >> $command" -section "SfDataCreate"

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
$response = Invoke-Expression $command


Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace


Write-MyDebug " << $command" -section "SfDataCreate"

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace

Write-MyDebug " >> $command" -section "SfDataQuery"

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace

$response = Invoke-Expression $command

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace

Write-MyDebug " >> $command" -section "SfDataQuery"

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace

$response = Invoke-Expression $command

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
@rulasg rulasg merged commit fc945c5 into main Mar 15, 2026
3 checks passed
@rulasg rulasg deleted the improvements branch March 15, 2026 22:15
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.

1 participant