mirror of
https://github.com/Corsinvest/cv4pve-api-php.git
synced 2026-04-25 04:25:48 +03:00
[PR #35] [MERGED] onActionExecuted event for better logs handling #36
Labels
No labels
enhancement
needs investigation
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-api-php#36
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/Corsinvest/cv4pve-api-php/pull/35
Author: @lukasbruha
Created: 5/17/2024
Status: ✅ Merged
Merged: 5/17/2024
Merged by: @franklupo
Base:
master← Head:master📝 Commits (1)
4921cdconActionExecuted event for better logs handling📊 Changes
1 file changed (+23 additions, -2 deletions)
View changed files
📝
src/PveClientBase.php(+23 -2)📄 Description
An alternative to setDebugLevel() that prints log information on screen only. This new feature helps developers to subscribe event to log executed actions and their result into own log file, DB, whatever... Thanks to this, any debugging can be done on production environment as well.
Usage:
Method executeAction() set to protected to allow modify this method by own.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.