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