mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[PR #190] [CLOSED] Return the generated record to the user #991
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#991
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/190
Author: @iBiryukov
Created: 5/3/2013
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
c4132e7Return 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.