Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Migrate away from deprecated ILogger to PSR-3 #579

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Aug 20, 2024

  • Target version: main

Summary

Mostly replace ILogger with LoggerInterface and some minor cleanup (constructor property promotion).

Some places used the deprecated logException, this is easy to migrate: Simply use the appropriate log level on the logger and place the exception under the exception key in the context.

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Documentation (manuals or wiki) has been updated or is not required

Mostly replace `ILogger` with `LoggerInterface` and some minor cleanup (constructor property promotion).

Some places used the deprecated `logException`, this is easy to migrate: Simply use the appropriate log level on the logger and place the exception under the `exception` key in the context.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the chore/migrate-ilogger-to-psr-3 branch from 7444b39 to abf3d8c Compare August 21, 2024 10:56
@susnux
Copy link
Contributor Author

susnux commented Aug 21, 2024

Rebased and resolved conflicts

@juliusknorr
Copy link
Member

Thanks a lot ❤️

@juliusknorr juliusknorr merged commit 9799312 into main Aug 21, 2024
29 checks passed
@juliusknorr juliusknorr deleted the chore/migrate-ilogger-to-psr-3 branch August 21, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants