示例#1
0
 /**
  * Logs the current command
  *
  * @param   RemoteApi $client The connection resource
  * @param   array $auth Array of authentication information (email, password)
  * @param   string $command The command used to run this script.
  */
 public static function log($client, $auth, $command)
 {
     try {
         $client->logCommand($auth[0], $auth[1], $command);
     } catch (Eventum_RPC_Exception $e) {
         self::quit($e->getMessage());
     }
 }