Skip to content

Rename body parameter, use custom Severity class#28

Merged
lipskis merged 1 commit into
mainfrom
log-helper
May 29, 2026
Merged

Rename body parameter, use custom Severity class#28
lipskis merged 1 commit into
mainfrom
log-helper

Conversation

@lipskis

@lipskis lipskis commented May 29, 2026

Copy link
Copy Markdown
Collaborator

Update Appsignal::log helper method to use message as the parameter name for body. The term body came from OTel internals.

Add Appsignal\Severity enum that wraps OTel severity ints. Update all tests and references.

[skip changeset]

@lipskis lipskis self-assigned this May 29, 2026
@lipskis lipskis added the chore A small task that takes a day or two at the most. label May 29, 2026
@lipskis lipskis requested review from tombruijn and unflxw May 29, 2026 13:03
Update `Appsignal::log` helper method to use `message` as the parameter
name for `body`. The term `body` came from OTel internals.

Add `Appsignal\Severity` enum that wraps OTel severity ints. Update all
tests and references.
Comment thread src/Severity.php
@lipskis lipskis merged commit 964f816 into main May 29, 2026
10 checks passed
@lipskis lipskis deleted the log-helper branch May 29, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore A small task that takes a day or two at the most.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants