/** * * @param type $variable * @param type $name */ public static function debug($variable, $name = '') { $sMessage = $name != '' ? "{$name} = '" . $variable . "'" : $variable; JchPlatformUtility::log($sMessage, 'jch-optimize'); }
/** * * @param type $sMessage */ public static function logInfo($sMessage) { JchPlatformUtility::log($sMessage, 'INFO', 'plg_jch_optimize.logs.php'); }