ePages 7.1.0 - DE_EPAGES/ExternalShipping/API/Log.pm

Package DE_EPAGES::ExternalShipping::API::Log

Log functions for external shippings.

@EXPORT_OK
LogShippingFulfillment

Functions

LogShippingFulfillment

LogShippingFulfillment

Logs a structure to the communication.log. Does nothing if logging for the specified payment type is disabled

Syntax
LogShippingFulfillment($ShippingFulfillmentTypeAlias, $Name, $Debug);
LogShippingFulfillment($ShippingFulfillmentTypeAlias, $Name, $Debug, $Section);
LogShippingFulfillment($ShippingFulfillmentTypeAlias, $Name, $Debug, $Section, $aFilter);
Example
LogShippingFulfillment('DHL', 'SendRequestHash', \%Hash, 'Send');
Input
$ShippingFulfillmentTypeAlias (string)
alias of shipping fulfillment type
$Name (string)
name of data
$Debug (hash)
data to be logged
$Section (string)
(optional - defaults to name of calling sub) name of the section to be logged
$aFilter (ref.array.string)
(optional) filter (perl regular expression for
s/$Filter[^\n]+\n/\n/gis)