Skip to content

docs: Add send-logs sample using Write-SentryLog

7818d05
Select commit
Loading
Failed to load commit list.
Merged

feat: Add Write-SentryLog cmdlet for structured logs #131

docs: Add send-logs sample using Write-SentryLog
7818d05
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / PSScriptAnalyzer succeeded May 22, 2026 in 3s

No new alerts in code changed by this pull request

Annotations

Check warning on line 19 in modules/Sentry/public/Write-SentryLog.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Empty catch block is used. Please use Write-Error or throw statements in catch blocks. Warning

Empty catch block is used. Please use Write-Error or throw statements in catch blocks.

Check warning on line 3 in tests/write-sentrylog.tests.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Found global variable 'global:SentryPowershellRethrowErrors'. Warning test

Found global variable 'global:SentryPowershellRethrowErrors'.

Check warning on line 23 in tests/write-sentrylog.tests.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Found global variable 'global:SentryPowershellRethrowErrors'. Warning test

Found global variable 'global:SentryPowershellRethrowErrors'.