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

Allow psr/log 2 #1154

Merged
merged 1 commit into from
Aug 3, 2021
Merged

Allow psr/log 2 #1154

merged 1 commit into from
Aug 3, 2021

Conversation

derrabus
Copy link

This PR enables this library to be used with the updated psr/log interfaces. The current code is already compatible with version 2 of the interfaces.

There's also a version 3, but unfortunately it requires a return type to be added to Elasticsearch\Common\EmptyLogger. Adding that type could break userland code that extends EmptyLogger.

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@derrabus derrabus force-pushed the bugfix/allow-psr-log-2 branch from 6b44e98 to d7dbe0f Compare July 18, 2021 15:12
@Jean85
Copy link

Jean85 commented Aug 2, 2021

Ping @ezimuel: this is a blocker for Seldaek/monolog#1564

@ezimuel ezimuel merged commit f3e0336 into elastic:6.8.x Aug 3, 2021
@ezimuel
Copy link
Contributor

ezimuel commented Aug 3, 2021

Thanks @derrabus for this PR and thanks @Jean85 for the ping. I'll merge it also in 7.x and release in the upcoming 7.14.0 version.

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.

4 participants