Core/LogRequestsToDisk.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\LogRequestsToDisk

Package: Default
Logs API Requests/Responses To Disk

Properties

>VPropertypublicboolean $EnableServiceRequestsLogging
Indicating whether Service Requests Logging should be enabled
Details
Type
boolean
>VPropertypublicstring $ServiceRequestLoggingLocation
The Service Request Logging Location.
Details
Type
string

Methods

methodpublicGetLogDestination() : string

Gets the log destination folder

Returns
TypeDescription
stringlog destination folder
methodpublicLogPlatformRequests( $xml,  $url,  $headers,  $isRequest) : void

Logs the Platform Request to Disk.

Parameters
NameTypeDescription
$xml
$url
$headers
$isRequest
methodpublic__construct( $enableServiceRequestLogging = FALSE,  $serviceRequestLoggingLocation = NULL) : void

Initializes a new instance of the LogRequestsToDisk class.

Parameters
NameTypeDescription
$enableServiceRequestLogging
$serviceRequestLoggingLocation
Documentation was generated by phpDocumentor 2.8.5.