[PR #30] [CLOSED] FirePHP 1.0 support #888

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

📋 Pull Request Information

Original PR: https://github.com/Seldaek/monolog/pull/30
Author: @cadorn
Created: 5/12/2011
Status: Closed

Base: masterHead: master


📝 Commits (9)

  • 4bd0d34 FirePHP 1.0 support
  • 3602dee Reverted FirePHPHandler and added InsightHandler; updated docs
  • 7753fe3 Merge branch 'upstream'
  • b0e15f5 fixed logging levels
  • ae25f57 silence if FirePHP 1.0 not found; refactoring; insight API via ::getContext(); docs
  • ed43e3c CS fix
  • 22b760c Extend AbstractProcessingHandler instead
  • 5438aad Use getInstance() instead
  • f36d611 fixed formatter and stack adjustment

📊 Changes

5 files changed (+224 additions, -1 deletions)

View changed files

📝 README.mdown (+39 -1)
src/Monolog/Formatter/PassthruFormatter.php (+38 -0)
📝 src/Monolog/Handler/FirePHPHandler.php (+3 -0)
src/Monolog/Handler/InsightHandler.php (+104 -0)
src/Monolog/Handler/InsightHandler/NullMessage.php (+40 -0)

📄 Description

I added support for FirePHP 1.0 to the FirePHP handler along with instructions in the README.

The handler will now use FirePHP 1.0 if detected instead of the built-in protocol implementation. There are many advantages to this including:

  • Encoding of complex variables
  • File and line info
  • Support for large numbers of log messages
  • Support for evolving Companion client tools

Coming soon:

  • Conditional logging where the client can enable and disable log handlers on request

Try it out, let me know what you think. I would be happy to maintain this integration and add to it over time.

I hope you are enjoying your time away!

Christoph


🔄 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/30 **Author:** [@cadorn](https://github.com/cadorn) **Created:** 5/12/2011 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (9) - [`4bd0d34`](https://github.com/Seldaek/monolog/commit/4bd0d345d219fc75f973f3876cebbd5eb6ccd78a) FirePHP 1.0 support - [`3602dee`](https://github.com/Seldaek/monolog/commit/3602dee395cdf488257c5574c472161a3bf14233) Reverted FirePHPHandler and added InsightHandler; updated docs - [`7753fe3`](https://github.com/Seldaek/monolog/commit/7753fe38c43b532e82d015306a5d07d5e8d7d7e3) Merge branch 'upstream' - [`b0e15f5`](https://github.com/Seldaek/monolog/commit/b0e15f5166851f7021aee5e25ba89c628771bdcf) fixed logging levels - [`ae25f57`](https://github.com/Seldaek/monolog/commit/ae25f57541130dda674688c6f3e25607cbf7446f) silence if FirePHP 1.0 not found; refactoring; insight API via ::getContext(); docs - [`ed43e3c`](https://github.com/Seldaek/monolog/commit/ed43e3c56a431cfd74f68a32bc8478bebce989a0) CS fix - [`22b760c`](https://github.com/Seldaek/monolog/commit/22b760c5e558c29dd1afd547c1a4c0fb93b05a40) Extend AbstractProcessingHandler instead - [`5438aad`](https://github.com/Seldaek/monolog/commit/5438aadf1b80dac7653e037887f236d3bf94a2b6) Use getInstance() instead - [`f36d611`](https://github.com/Seldaek/monolog/commit/f36d61112e1fbbf402742a49aee562fc9e173903) fixed formatter and stack adjustment ### 📊 Changes **5 files changed** (+224 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `README.mdown` (+39 -1) ➕ `src/Monolog/Formatter/PassthruFormatter.php` (+38 -0) 📝 `src/Monolog/Handler/FirePHPHandler.php` (+3 -0) ➕ `src/Monolog/Handler/InsightHandler.php` (+104 -0) ➕ `src/Monolog/Handler/InsightHandler/NullMessage.php` (+40 -0) </details> ### 📄 Description I added support for FirePHP 1.0 to the FirePHP handler along with instructions in the README. The handler will now use FirePHP 1.0 if detected instead of the built-in protocol implementation. There are many advantages to this including: - Encoding of complex variables - File and line info - Support for large numbers of log messages - Support for evolving Companion client tools Coming soon: - Conditional logging where the client can enable and disable log handlers on request Try it out, let me know what you think. I would be happy to maintain this integration and add to it over time. I hope you are enjoying your time away! Christoph --- <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:22 +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#888
No description provided.