[PR #23] [MERGED] FingersCrossedHandler improvements #882

Closed
opened 2026-03-04 03:02:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Seldaek/monolog/pull/23
Author: @stof
Created: 5/6/2011
Status: Merged
Merged: 5/8/2011
Merged by: @Seldaek

Base: masterHead: fingerscrossed


📝 Commits (2)

  • 9b08424 Changed FingersCrossedHandler to use handleBatch when the buffer is triggered
  • a75f796 Added the possibility to configure whether the FingersCrossedHandler should continue to buffer after being triggered or not

📊 Changes

2 files changed (+21 additions, -6 deletions)

View changed files

📝 src/Monolog/Handler/FingersCrossedHandler.php (+9 -6)
📝 tests/Monolog/Handler/FingersCrossedHandlerTest.php (+12 -0)

📄 Description

This adds the availability to configure the behavior of the FingersCrossedHandler after being triggered and changed to formatBatch to behave better when the nested handler does not just do a foreach loop to handle batch.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Seldaek/monolog/pull/23 **Author:** [@stof](https://github.com/stof) **Created:** 5/6/2011 **Status:** ✅ Merged **Merged:** 5/8/2011 **Merged by:** [@Seldaek](https://github.com/Seldaek) **Base:** `master` ← **Head:** `fingerscrossed` --- ### 📝 Commits (2) - [`9b08424`](https://github.com/Seldaek/monolog/commit/9b084240e99a3bccdb81261d611a5e99cd5625f2) Changed FingersCrossedHandler to use handleBatch when the buffer is triggered - [`a75f796`](https://github.com/Seldaek/monolog/commit/a75f7963ee1154a783ad7d4cf5720099fe336040) Added the possibility to configure whether the FingersCrossedHandler should continue to buffer after being triggered or not ### 📊 Changes **2 files changed** (+21 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/Monolog/Handler/FingersCrossedHandler.php` (+9 -6) 📝 `tests/Monolog/Handler/FingersCrossedHandlerTest.php` (+12 -0) </details> ### 📄 Description This adds the availability to configure the behavior of the FingersCrossedHandler after being triggered and changed to `formatBatch` to behave better when the nested handler does not just do a `foreach` loop to handle batch. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 03:02:18 +03:00
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#882
No description provided.