Example #1
0
 /**
  * Just log a line.
  *
  * @param string String to log
  * @return void
  * @see phpRack_Package_Php::lint() and many other methods
  */
 protected function _log($message)
 {
     // pass it to sprintf
     if (func_num_args() > 1) {
         $args = func_get_args();
         $message = call_user_func_array('sprintf', array_merge(array($message), array_slice($args, 1)));
     }
     $this->_result->addLog($message);
 }
Example #2
0
 /**
  * Just log a line
  *
  * @param string String to log
  * @return void
  * @see phpRack_Package_Php::lint() and many other methods
  */
 protected function _log($log)
 {
     $this->_result->addLog($log);
 }