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

Add ProcessorInterface, an optional one to allow labelling Monolog processors #1204

Merged
merged 1 commit into from
Nov 4, 2018
Merged

Add ProcessorInterface, an optional one to allow labelling Monolog processors #1204

merged 1 commit into from
Nov 4, 2018

Conversation

nicolas-grekas
Copy link
Contributor

Would replace symfony/symfony#27801, as an interface better belongs to its original package than to a bridge.

@nicolas-grekas nicolas-grekas changed the base branch from master to 1.x October 12, 2018 19:13
fabpot added a commit to symfony/symfony that referenced this pull request Oct 13, 2018
…rface, enabling autoconfiguration of monolog processors" (nicolas-grekas)

This PR was merged into the 4.2-dev branch.

Discussion
----------

Revert "feature #27801 [MonologBridge] Add ProcessorInterface, enabling autoconfiguration of monolog processors"

This reverts commit f27c3a8, reversing
changes made to 9da0454.

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

A bridge shouldn't provide interfaces to me so I submitted Seldaek/monolog#1204 instead.

This PR reverts the possibility to autoconfigure processors for now, so that it could be moved to the MonologBundle instead.

To have TokenProcessor and WebProcessor classes implement the new ProcessorInterface, we could bump the minimum version of monolog. This cannot be done until a new version of it is tagged, so we need to resolve this before tagging 4.2 ourselves.

Commits
-------

cfc3f25 Revert "feature #27801 [MonologBridge] Add ProcessorInterface, enabling autoconfiguration of monolog processors (nicolas-grekas)"
@Seldaek Seldaek merged commit 5b1bf00 into Seldaek:1.x Nov 4, 2018
@Seldaek
Copy link
Owner

Seldaek commented Nov 4, 2018

Thanks

lyrixx added a commit to symfony/monolog-bundle that referenced this pull request May 16, 2019
This PR was merged into the 3.x-dev branch.

Discussion
----------

Register processors for autoconfiguration

Replaces symfony/symfony#27801 (which has been reverted meanwhile)
Leverages Seldaek/monolog#1204
Already documented in symfony/symfony-docs#9996 (but doc needs update)

Commits
-------

7fdda67 Register processors for autoconfiguration
dani-danigm pushed a commit to dani-danigm/monolog-bundle that referenced this pull request Jun 15, 2022
This PR was merged into the 3.x-dev branch.

Discussion
----------

Register processors for autoconfiguration

Replaces symfony/symfony#27801 (which has been reverted meanwhile)
Leverages Seldaek/monolog#1204
Already documented in symfony/symfony-docs#9996 (but doc needs update)

Commits
-------

84c0564 Register processors for autoconfiguration
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