mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[PR #331] [CLOSED] Created a SoapClient Processor #1084
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#1084
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/331
Author: @garadox
Created: 3/6/2014
Status: ❌ Closed
Base:
master← Head:master📝 Commits (7)
516603dCreated a Processor to format and sanitize SOAP requests / responses05a8ed9Added the SoapClient endpoint as a record 'extra' parameter1b4cb47Added missing class constant13a25efDefaulting Soap Request and Response to empty string12268b2Changed how default extra fields are added to the record array.3ff6ca1Added SoapClientProcessor Test496453cCompleted class coverage📊 Changes
2 files changed (+347 additions, -0 deletions)
View changed files
➕
src/Monolog/Processor/SoapClientProcessor.php(+240 -0)➕
tests/Monolog/Processor/SoapClientProcessorTest.php(+107 -0)📄 Description
I had a need to log a formatted SOAP request and response with Monolog. For security purposes I also need to sanitize some elements of the request and response.
I created a Processor for the SoapClient, but due to the SoapClient not being available globally I'm expecting the variable in the context array of the record. This is the part I like the least - if you have a recommendation for making this better i'll implement it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.