private function zDebug($info = array(), $data = '', $resposta = '')
{
$this->infoCurl["url"] = $info["url"];
$this->infoCurl["content_type"] = $info["content_type"];
$this->infoCurl["http_code"] = $info["http_code"];
$this->infoCurl["header_size"] = $info["header_size"];
$this->infoCurl["request_size"] = $info["request_size"];
$this->infoCurl["filetime"] = $info["filetime"];
$this->infoCurl["ssl_verify_result"] = $info["ssl_verify_result"];
$this->infoCurl["redirect_count"] = $info["redirect_count"];
$this->infoCurl["total_time"] = $info["total_time"];
$this->infoCurl["namelookup_time"] = $info["namelookup_time"];
$this->infoCurl["connect_time"] = $info["connect_time"];
$this->infoCurl["pretransfer_time"] = $info["pretransfer_time"];
$this->infoCurl["size_upload"] = $info["size_upload"];
$this->infoCurl["size_download"] = $info["size_download"];
$this->infoCurl["speed_download"] = $info["speed_download"];
$this->infoCurl["speed_upload"] = $info["speed_upload"];
$this->infoCurl["download_content_length"] = $info["download_content_length"];
$this->infoCurl["upload_content_length"] = $info["upload_content_length"];
$this->infoCurl["starttransfer_time"] = $info["starttransfer_time"];
$this->infoCurl["redirect_time"] = $info["redirect_time"];
//coloca as informações em uma variável
$txtInfo = "";
foreach ($info as $key => $content) {
if (is_string($content)) {
$txtInfo .= strtoupper($key) . '=' . $content . "\n";
}
}
//carrega a variavel debug
$this->soapDebug = $data . "\n\n" . $txtInfo . "\n" . $resposta;
}