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

Remove ConsoleLogger #1449

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

derrabus
Copy link
Member

Q A
Type improvement
BC Break no (removed class was @internal)
Fixed issues N/A

Summary

We don't need to maintain our own version of the ConsoleLogger class. Symfony already has one, so let's use that. This will also allow us to revert #1446.

@derrabus derrabus added this to the 3.9.0 milestone Aug 26, 2024
Copy link
Member

@greg0ire greg0ire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will also allow us to revert #1446

Why would you want to revert it?

@derrabus
Copy link
Member Author

This will also allow us to revert #1446

Why would you want to revert it?

Because once we merge this PR, we don't ship our own psr/log implementation anymore. Thus, we don't need to have an opinion on which psr/log version is installed.

@derrabus derrabus force-pushed the remove/console-logger branch from 8152164 to 2700819 Compare August 26, 2024 09:16
@derrabus derrabus merged commit 898d19d into doctrine:3.9.x Aug 26, 2024
12 checks passed
@derrabus derrabus deleted the remove/console-logger branch August 26, 2024 09:20
@greg0ire
Copy link
Member

OK, but you'd still keep the native type declarations, right?

@derrabus
Copy link
Member Author

OK, but you'd still keep the native type declarations, right?

My plan is that we don't implement that interface ourselves at all. See #1450 for the remaining implementations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants