mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[GH-ISSUE #1900] HandlerInterface::isHandling could have better naming #816
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#816
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Jul 25, 2024).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1900
Hi, I have a little problem with HandlerInterface::isHandling method naming and I'm often mislead by it.
For me
isHandlingmeans (the first is my default, the second is alternative understanding)OR
However what it really does is that this handler supports (i.e. will log) this log record.
I know the doc block on the method gives some explaination but one can't remember all the doc blocks and it's the class API (e.g. method naming) what a developer works with daily so better method naming should be our priority.
I hope I've described my POV understandable.
I know the naming change would be a big BC break so I'm not forcing to change it right away. It's more like a question for maintainers whether they agree with my POV and maybe in some future major release this could be done.
@Seldaek commented on GitHub (Nov 9, 2024):
Probably not going to change this no..