CRM-14494 use preferred logger syntax
authorEileen McNaughton <eileen@fuzion.co.nz>
Thu, 1 May 2014 22:39:52 +0000 (15:39 -0700)
committerEileen McNaughton <eileen@fuzion.co.nz>
Thu, 1 May 2014 22:39:52 +0000 (15:39 -0700)
extern/authorizeIPN.php
extern/googleNotify.php
extern/ipn.php
extern/pxIPN.php

index d30007616ceafb839ac0af2c6a9364519d6624ae..e1384e586cd7113f6b440c9f2a21518f944cb14a 100644 (file)
@@ -36,7 +36,7 @@ session_start();
 require_once '../civicrm.config.php';
 $config = CRM_Core_Config::singleton();
 $log = new CRM_Utils_SystemLogger();
-$log->log('alert', 'payment_notification processor_name=AuthNet', $_REQUEST);
+$log->alert('payment_notification processor_name=AuthNet', $_REQUEST);
 
 $authorizeNetIPN = new CRM_Core_Payment_AuthorizeNetIPN();
 $authorizeNetIPN->main();
index 1339ee06158706edd867ae3f691865646c5ceadc..1314f17c6192b2b26f06b9489a18ef5aa9fe54d3 100644 (file)
@@ -37,7 +37,7 @@ require_once '../civicrm.config.php';
 
 $config = CRM_Core_Config::singleton();
 $log = new CRM_Utils_SystemLogger();
-$log->log('alert', 'payment_notification processor_name=Google_Checkout', $_REQUEST);
+$log->alert('payment_notification processor_name=Google_Checkout', $_REQUEST);
 
 $rawPostData = file_get_contents('php://input');
 CRM_Core_Payment_GoogleIPN::main($rawPostData);
index 9b1e468a62061d8f335e414baa11a27f2c6958ba..c01ed15fd595660da331d8488ca3fda1fa8cf1f4 100644 (file)
@@ -40,11 +40,11 @@ require_once '../civicrm.config.php';
 $config = CRM_Core_Config::singleton();
 $log = new CRM_Utils_SystemLogger();
 if (empty($_GET)) {
-  $log->log('alert', 'payment_notification processor_name=PayPal', $_REQUEST);
+  $log->alert('payment_notification processor_name=PayPal', $_REQUEST);
   $paypalIPN = new CRM_Core_Payment_PayPalProIPN($_REQUEST);
 }
 else {
-  $log->log('alert', 'payment_notification PayPal_Standard', $_REQUEST);
+  $log->alert('payment_notification PayPal_Standard', $_REQUEST);
   $paypalIPN = new CRM_Core_Payment_PayPalIPN();
   // @todo upgrade standard per Pro
 }
index 089d88dd7b3813cb322092b0d45b11051a780a2a..39fffc7ac838471f67fcc8e258461e6d65793509 100644 (file)
@@ -18,7 +18,7 @@ require_once 'CRM/Core/Config.php';
 
 $config = CRM_Core_Config::singleton();
 $log = new CRM_Utils_SystemLogger();
-$log->log('alert', 'payment_notification processor_name=Payment_Express', $_REQUEST);
+$log->alert('payment_notification processor_name=Payment_Express', $_REQUEST);
 /*
  * Get the password from the Payment Processor's table based on the DPS user id
  * being passed back from the server