[PR #468] [MERGED] Add MongoDBFormatter #1170

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

📋 Pull Request Information

Original PR: https://github.com/Seldaek/monolog/pull/468
Author: @flowpl
Created: 12/6/2014
Status: Merged
Merged: 12/29/2014
Merged by: @Seldaek

Base: masterHead: master


📝 Commits (3)

📊 Changes

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

View changed files

📝 README.mdown (+1 -0)
src/Monolog/Formatter/MongoDBFormatter.php (+104 -0)
tests/Monolog/Formatter/MongoDBFormatterTest.php (+253 -0)

📄 Description

A Formatter that converts \DateTime to \MongoDate and objects/arrays recursively to sub documents.


🔄 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/468 **Author:** [@flowpl](https://github.com/flowpl) **Created:** 12/6/2014 **Status:** ✅ Merged **Merged:** 12/29/2014 **Merged by:** [@Seldaek](https://github.com/Seldaek) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`d6f11d6`](https://github.com/Seldaek/monolog/commit/d6f11d6ba33cc1c9aff4b404bd12a07ecc311bf3) Add MongoDBFormatter - [`92ac8e1`](https://github.com/Seldaek/monolog/commit/92ac8e18690abfcae9193cfd94601f5398843938) updated readme - [`04648db`](https://github.com/Seldaek/monolog/commit/04648dba784e52a79b9e03ca628743019e3e6009) some cleanup ### 📊 Changes **3 files changed** (+358 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.mdown` (+1 -0) ➕ `src/Monolog/Formatter/MongoDBFormatter.php` (+104 -0) ➕ `tests/Monolog/Formatter/MongoDBFormatterTest.php` (+253 -0) </details> ### 📄 Description A Formatter that converts \DateTime to \MongoDate and objects/arrays recursively to sub documents. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 03:06:16 +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#1170
No description provided.