[PR #346] [MERGED] Added LogEntries handler and tests. #1096

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

📋 Pull Request Information

Original PR: https://github.com/Seldaek/monolog/pull/346
Author: @robottokauf3
Created: 3/29/2014
Status: Merged
Merged: 3/31/2014
Merged by: @Seldaek

Base: masterHead: LogEntriesHandler


📝 Commits (4)

  • 2b6dffa Add handler and tests for logentries.com
  • 8812850 Reorder parameters for construct method.
  • 7f4229a Remove unneeded calls to close method.
  • fcd0d09 Remove unnecessary getDefaultFormatter and handleBatch methods.

📊 Changes

3 files changed (+144 additions, -0 deletions)

View changed files

📝 README.mdown (+1 -0)
src/Monolog/Handler/LogEntriesHandler.php (+58 -0)
tests/Monolog/Handler/LogEntriesHandlerTest.php (+85 -0)

📄 Description

Added handler for http://logentries.com. It uses their token-based input to send the log messages.

Let me know what you think and if there are any improvements I can make. I'm currently debating making a custom formatter for this but as you can see below the LineFormatter works quite well.

2014-03-28-230909_748x268_scrot


🔄 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/346 **Author:** [@robottokauf3](https://github.com/robottokauf3) **Created:** 3/29/2014 **Status:** ✅ Merged **Merged:** 3/31/2014 **Merged by:** [@Seldaek](https://github.com/Seldaek) **Base:** `master` ← **Head:** `LogEntriesHandler` --- ### 📝 Commits (4) - [`2b6dffa`](https://github.com/Seldaek/monolog/commit/2b6dffa23ffe27812564f39164b8aa246b57f7bf) Add handler and tests for logentries.com - [`8812850`](https://github.com/Seldaek/monolog/commit/8812850aeebe626a476853fc8b97ec3028fdb653) Reorder parameters for construct method. - [`7f4229a`](https://github.com/Seldaek/monolog/commit/7f4229a2f41a23111f97e125c776c0032b55e571) Remove unneeded calls to close method. - [`fcd0d09`](https://github.com/Seldaek/monolog/commit/fcd0d092b3c60c259652df31a8e70ef5e027c100) Remove unnecessary getDefaultFormatter and handleBatch methods. ### 📊 Changes **3 files changed** (+144 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.mdown` (+1 -0) ➕ `src/Monolog/Handler/LogEntriesHandler.php` (+58 -0) ➕ `tests/Monolog/Handler/LogEntriesHandlerTest.php` (+85 -0) </details> ### 📄 Description Added handler for http://logentries.com. It uses their token-based input to send the log messages. Let me know what you think and if there are any improvements I can make. I'm currently debating making a custom formatter for this but as you can see below the LineFormatter works quite well. ![2014-03-28-230909_748x268_scrot](https://cloud.githubusercontent.com/assets/1910307/2557086/94aeb42c-b6ef-11e3-860f-b4acd990c6d5.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 03:05:04 +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#1096
No description provided.