replaced old debug-log call with current one.

This commit is contained in:
B. Endres 2023-05-15 12:03:32 +02:00
parent 518f8809c7
commit bd6c60c539
5 changed files with 4 additions and 5 deletions

View file

@ -265,7 +265,7 @@ function _civicrm_api3_twingle_donation_Submit_spec(&$params) {
function civicrm_api3_twingle_donation_Submit($params) {
// Log call if debugging is enabled within civicrm.settings.php.
if (defined('TWINGLE_API_LOGGING') && TWINGLE_API_LOGGING) {
CRM_Core_Error::debug_log_message('TwingleDonation.Submit: ' . json_encode($params, JSON_PRETTY_PRINT));
Civi::log()->debug('TwingleDonation.Submit: ' . json_encode($params, JSON_PRETTY_PRINT));
}
try {