mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[PR #641] [CLOSED] Added the capability of handling a message multiple times #1273
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#1273
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?
📋 Pull Request Information
Original PR: https://github.com/Seldaek/monolog/pull/641
Author: @mjacobus
Created: 9/7/2015
Status: ❌ Closed
Base:
master← Head:feature/multiple-handles-for-same-message📝 Commits (1)
a353c2bAdded the capability of handling a message multiple times📊 Changes
2 files changed (+45 additions, -3 deletions)
View changed files
📝
src/Monolog/Logger.php(+5 -3)📝
tests/Monolog/LoggerTest.php(+40 -0)📄 Description
What if I want error messages to be logged, but critical messages to be logged, mailed and sent to slack channel?
If I understood correctly this is currently not possible. This is why I created this PR, to add such capability.
Note that 2 tests are now failing. I did not change them because I was not sure if that was testing the expected behavior or if it was just very strict expectations, since the commit that introduced those tests seemed just to be increasing the test coverage.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.