mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[PR #346] [MERGED] Added LogEntries handler and tests. #1096
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#1096
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/346
Author: @robottokauf3
Created: 3/29/2014
Status: ✅ Merged
Merged: 3/31/2014
Merged by: @Seldaek
Base:
master← Head:LogEntriesHandler📝 Commits (4)
2b6dffaAdd handler and tests for logentries.com8812850Reorder parameters for construct method.7f4229aRemove unneeded calls to close method.fcd0d09Remove 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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.