mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[GH-ISSUE #1454] Does AbstractHandler really need __destruct? #613
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#613
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?
Originally created by @cloudop on GitHub (Apr 15, 2020).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1454
Monolog version 1.x
If throw a exception in code, will trigger handlers __destruct, then handlers will reset all logged records.
And cause log missed.
Explain below.
code 1(log a)
code 2(log b)
throw a exception
catch
code 3 (log c)
And now log a and b missed.
Consider delete that __destruct??