From 084416fce92bbc1a7d46e5d1e7b3d2214769bf21 Mon Sep 17 00:00:00 2001 From: Nicolas Girardet Date: Tue, 24 May 2022 15:25:51 +0200 Subject: [PATCH] Fix LogTrait message argument string --- src/Network/SoapClient.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Network/SoapClient.php b/src/Network/SoapClient.php index 371b766..0483e99 100644 --- a/src/Network/SoapClient.php +++ b/src/Network/SoapClient.php @@ -63,10 +63,10 @@ public function __soapCall($functionName, $arguments, $options = null, $inputHea { if (Configure::read('debug') === true) { $this->log($functionName, LogLevel::INFO); - $this->log($arguments, LogLevel::INFO); - $this->log($options, LogLevel::INFO); - $this->log($inputHeaders, LogLevel::INFO); - $this->log($outputHeaders, LogLevel::INFO); + $this->log(print_r($arguments, true), LogLevel::INFO); + $this->log(print_r($options, true), LogLevel::INFO); + $this->log(print_r($inputHeaders, true), LogLevel::INFO); + $this->log(print_r($outputHeaders, true), LogLevel::INFO); } return parent::__soapCall($functionName, $arguments, $options, $inputHeaders, $outputHeaders);