ePages 6.10 - DE_EPAGES/ExternalPayment/API/Log.pm

Package DE_EPAGES::ExternalPayments::API::Log

Log functions for external payments.

Package DE_EPAGES::ExternalPayment::API::Log

@EXPORT_OK
LogPayment

Functions

LogPayment

LogPayment

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

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