[GH-ISSUE #839] Usage of warn and err methods #325

Closed
opened 2026-03-04 02:14:09 +03:00 by kerem · 2 comments
Owner

Originally created by @catalinux on GitHub (Aug 29, 2016).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/839

This methods are not defined in LoggerInterface. Usage of these methods without notice makes it hard when you changer your logger to other LoggerInterface implementation.

Shouldn't we remove these methods?

Originally created by @catalinux on GitHub (Aug 29, 2016). Original GitHub issue: https://github.com/Seldaek/monolog/issues/839 This methods are not defined in LoggerInterface. Usage of these methods without notice makes it hard when you changer your logger to other LoggerInterface implementation. Shouldn't we remove these methods?
kerem closed this issue 2026-03-04 02:14:09 +03:00
Author
Owner

@stof commented on GitHub (Aug 29, 2016):

Well, in the master branch (which is the dev version of Monolog 2), they are already removed.
They cannot be removed in 1.x for BC reasons

<!-- gh-comment-id:243136164 --> @stof commented on GitHub (Aug 29, 2016): Well, in the master branch (which is the dev version of Monolog 2), they are already removed. They cannot be removed in 1.x for BC reasons
Author
Owner

@catalinux commented on GitHub (Aug 29, 2016):

Ok. I did not notice that. Tx

<!-- gh-comment-id:243138406 --> @catalinux commented on GitHub (Aug 29, 2016): Ok. I did not notice that. Tx
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/monolog#325
No description provided.