public function logAdd($logmsg, $loglevel = TeamSpeak3::LOGLEVEL_INFO)
  {
    $sid = $this->serverSelectedId();

    $this->serverDeselect();
    $this->execute("logadd", array("logmsg" => $logmsg, "loglevel" => $loglevel));
    $this->serverSelect($sid);
  }
public function logAdd($logmsg, $loglevel = TeamSpeak3::LOGLEVEL_INFO)
  {
    $sid = $this->serverSelectedId();

    $this->serverDeselect();
    $this->execute("logadd", array("logmsg" => $logmsg, "loglevel" => $loglevel));
    $this->serverSelect($sid);
  }
public function logAdd ( $ logmsg , $ loglevel = TeamSpeak3 :: LOGLEVEL_INFO ) { $ sid = $ this -> serverSelectedId ( ) ; $ this -> serverDeselect ( ) ; $ this -> execute ( "logadd" , array ( "logmsg" => $ logmsg , "loglevel" => $ loglevel ) ) ; $ this -> serverSelect ( $ sid ) ; }
Writes a custom entry into the server instance log.

@param  string  $logmsg
@param  integer $loglevel
@return void
Writes a custom entry into the server instance log .