[PR #190] [CLOSED] Return the generated record to the user #991

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

📋 Pull Request Information

Original PR: https://github.com/Seldaek/monolog/pull/190
Author: @iBiryukov
Created: 5/3/2013
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

  • c4132e7 Return the generated record to the user

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/Monolog/Logger.php (+1 -1)

📄 Description

It's very useful to get the record back after writing to the log.
For example, post processors can add a unique id to the log entry, which is useful to display to the user in case of a system crash.

This should not affect the backward compatibility, as a record array will always evaluate to true.


🔄 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/190 **Author:** [@iBiryukov](https://github.com/iBiryukov) **Created:** 5/3/2013 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`c4132e7`](https://github.com/Seldaek/monolog/commit/c4132e70d2a4a0069a0a376429f37d136846c5e2) Return the generated record to the user ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/Monolog/Logger.php` (+1 -1) </details> ### 📄 Description It's very useful to get the record back after writing to the log. For example, post processors can add a unique id to the log entry, which is useful to display to the user in case of a system crash. This should not affect the backward compatibility, as a record array will always evaluate to true. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 03:03:36 +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#991
No description provided.