Skip to content

chore: update logger adapter constructors#37

Merged
christyjacob4 merged 13 commits into
mainfrom
update-logging-constructors
May 23, 2024
Merged

chore: update logger adapter constructors#37
christyjacob4 merged 13 commits into
mainfrom
update-logging-constructors

Conversation

@christyjacob4

@christyjacob4 christyjacob4 commented May 20, 2024

Copy link
Copy Markdown
Contributor

Previously our constructors accepted only a single string, and parsed it in different ways to extract keys and IDs out of them. This was like magic and now very verbose.

With this refactor, we introduce explicit parameters in the constructor for each of the required attributes of the adapter.

@christyjacob4 christyjacob4 requested a review from Meldiron May 20, 2024 17:03
@christyjacob4 christyjacob4 changed the title chore: update logging provider constructors chore: update logger adapter constructors May 20, 2024
Comment thread src/Logger/Adapter/LogOwl.php Outdated
Comment thread src/Logger/Adapter/Sentry.php Outdated
@christyjacob4 christyjacob4 merged commit a2d1dae into main May 23, 2024
@christyjacob4 christyjacob4 deleted the update-logging-constructors branch May 23, 2024 13:37
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.

2 participants