';
$htmlResult.= '
Debugger de la aplicación '.strtoupper($valorAplicacion).'
';
$htmlResult.= '
';
if($errorDebugger!='') {
$htmlResult.= '
';
$htmlResult.= ' '.$errorDebugger.'';
$htmlResult.= '
';
}
$htmlResult.= '
';
$htmlResult.= '
';
$htmlResult.= '';
$htmlResult.= '
';
$htmlResult.= '
Traza de ejecución
';
$htmlResult.= '
';
$htmlResult.= '
';
$htmlResult.= '
';
$htmlResult.= '';
$htmlResult.= '';
$htmlResult.= 'Nº';
$htmlResult.= ' | ';
$htmlResult.= '';
$htmlResult.= 'FECHA';
$htmlResult.= ' | ';
if(empty($valorUsuario)){
$htmlResult.= '';
$htmlResult.= 'USUARIO';
$htmlResult.= ' | ';
}
$htmlResult.= '';
$htmlResult.= 'TIPO';
$htmlResult.= ' | ';
$htmlResult.= '';
$htmlResult.= 'MENSAJE';
$htmlResult.= ' | ';
$htmlResult.= '
';
if(count($resultDatos)==0){
$htmlResult.= '';
if(empty($valorUsuario))
$htmlResult.= '';
else
$htmlResult.= ' | ';
$htmlResult.= ' ';
$htmlResult.= 'NO HAY DATOS ';
$htmlResult.= ' | ';
$htmlResult.= '
';
}
else {
foreach($resultDatos as $indice=>$tupla) {
$htmlResult.= '';
$htmlResult.= '';
$htmlResult.= ($indice+1);
$htmlResult.= ' | ';
$htmlResult.= '';
if (!is_null($tupla['fecha']))
$htmlResult.= $tupla['fecha']->formatUser();
$htmlResult.= ' | ';
if(empty($valorUsuario)){
$htmlResult.= '';
$htmlResult.= $tupla['usuario'];
$htmlResult.= ' | ';
}
$htmlResult.= '';
switch($tupla['tipo']){
case 0:
$htmlResult.= 'PANIC';
break;
case 1:
$htmlResult.= 'ERROR';
break;
case 2:
$htmlResult.= 'WARNING';
break;
case 3:
$htmlResult.= 'NOTICE';
break;
case 4:
$htmlResult.= 'DEBUG_USER';
break;
case 5:
$htmlResult.= 'DEBUG_IGEP';
break;
}
$htmlResult.= ' | ';
$htmlResult.= '';
$htmlResult.= $tupla['mensaje'];
$htmlResult.= ' | ';
$htmlResult.= '
';
}
}
$htmlResult.= '
';
$htmlResult.= '
';
$htmlResult.= '
';
$htmlResult.= '';
$htmlResult.= '';
echo $htmlResult;
die;
?>