-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[MonologBridge] Added WebSubscriberProcessor to ease processor configuration #26832
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
Conversation
Actually, I don't need to add a new class to preserve the BC, right ? |
4.1.0 | ||
----- | ||
|
||
* Added `WebSubscriberProcessor` to be easily autoconfigured |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the meaning of this sentence. What is easily configured?
} | ||
|
||
/** | ||
* WebProcessor override to read from the HttpFoundation's Request and to be autoconfigured. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, but I don't understand what that means as well (I see that you copy/pasted the one from WebProcessor, but the second part is quite cryptic to me).
I have update the PR:
Before: Symfony\Bridge\Monolog\Processor\WebProcessor:
tags:
- { name: monolog.processor }
- { name: kernel.event_listener, event: kernel.request, priority: 4096 } After: Symfony\Bridge\Monolog\Processor\WebProcessor:
tags: [ monolog.processor ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor CS comment
@fabpot I don't see your comments :/ |
4.1.0 | ||
----- | ||
|
||
* `WebProcessor` now implements EventSubscriberInterface in order to be easily autoconfigured |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing quotes around EventSubscriberInterface
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Thank you @lyrixx. |
…rocessor configuration (lyrixx) This PR was merged into the 4.1-dev branch. Discussion ---------- [MonologBridge] Added WebSubscriberProcessor to ease processor configuration | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | --- Side note: I could be nice to have an interface to act as the marker to AutoConfigure processors Commits ------- b1287d6 [MonologBridge] Added WebSubscriberProcessor to ease processor configuration
Side note: I could be nice to have an interface to act as the marker to AutoConfigure processors