X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fyoomedia_functions.php;h=6cf2f2081319799af776d9b1d33fcaf50ef612ff;hb=5f8c1a333627cd0145f778a6eebdb251f5bb40b6;hp=10132b66d122fa3cd74dd9e33897e6736d54f0cc;hpb=aa106991e88b0dab33bf2a2d2409638e26a4c656;p=mailer.git diff --git a/inc/libs/yoomedia_functions.php b/inc/libs/yoomedia_functions.php index 10132b66d1..6cf2f20813 100644 --- a/inc/libs/yoomedia_functions.php +++ b/inc/libs/yoomedia_functions.php @@ -64,10 +64,10 @@ function YOOMEDIDA_TEST_CONFIG ($data) { // Log the response if failed if (count($response) == 0) { // Queries depleted (as we count here!) - DEBUG_LOG(__FUNCTION__."(".__LINE__."): Requested depleted. Maxmimum was: ".$_CONFIG['yoomedia_requests_total']); + DEBUG_LOG(__FUNCTION__, __LINE__, " Requested depleted. Maxmimum was: ".$_CONFIG['yoomedia_requests_total']); } elseif (count($response) <= 10) { // Log serialized raw response - DEBUG_LOG(__FUNCTION__."(".__LINE__."): Raw response=".base64_encode(serialize($response))); + DEBUG_LOG(__FUNCTION__, __LINE__, " Raw response=".base64_encode(serialize($response))); } // END - if // Do we have some data there? @@ -276,7 +276,7 @@ function YOOMEDIA_TRANSLATE_INDEX ($type, $index) { $return = $yoomediaTranslationTable[$type][$index]; } else { // Not found! - DEBUG_LOG(__FUNCTION__."(".__LINE__."): type={$type},index={$index} not found."); + DEBUG_LOG(__FUNCTION__, __LINE__, " type={$type},index={$index} not found."); } // Return value @@ -296,7 +296,7 @@ function YOOMEDIA_TRANSLATE_ERROR ($errorCode) { $return = $yoomediaTranslationTable['error_codes'][$errorCode]; } else { // Log missing entries - DEBUG_LOG(__FUNCTION__."(".__LINE__."): errorCode={$errorCode}"); + DEBUG_LOG(__FUNCTION__, __LINE__, " errorCode={$errorCode}"); } // Return value