mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[GH-ISSUE #825] 2.0 refactor attempt #318
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#318
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 @denys-potapov on GitHub (Jul 20, 2016).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/825
I've made an attempt to refactor the Monolog library https://github.com/denys-potapov/monolog-oc/tree/oc:
The whole library stays mainly backward compatible. If you find some ideas worse implementing, I can prepare a more cleaner separated pull request (with strict types and proper tests).
@hkdobrev commented on GitHub (Aug 28, 2016):
Have you seen #197?
@denys-potapov commented on GitHub (Sep 1, 2016):
@hkdobrev, yes I've seen it. But my code contains many changes, and probably only some of them would be useful in monolog master, so I decided to make a separate issue.
@Seldaek commented on GitHub (Sep 25, 2016):
Hey.. finally I had a look at this, sorry for the delay!
Monolog\DateTimeImmutablewhich groups most things. Sure it still uses two instance variables instead of one, but I don't see this as a killer sorry.So yeah overall not so willing to go with these changes, I see that they are interesting from an academic perspective and probably a good exercise in refactoring, but not clear enough to me what the value is for users of the lib.