public function logsdetailsActivity(string $uidie, string $env):Renderer
    {
        if (!in_array($env, array("dev", "prod"))) {
            throw new Server500(new \ArrayObject(array("explain" => "Bad environment name $env",
                "solution" => "Environment must be 'dev' or 'prod' ")));
        }
        $onelogs = AbstractServer::getLogs($env, 0, $uidie);

        if (empty($onelogs)) {
            throw new Server404(new \ArrayObject(array("explain" => "The error with uidie [".$uidie."] does not exist",
                "solution" => "Check the Uidie")));
        }
        return($this->render("logsdetails", array("details" => $onelogs, "selected" =>
            "logsmanager", "env" => strtolower($env), "loader_msg" => "Log with Uidie : $uidie")));
    }
public function logsdetailsActivity(string $uidie, string $env):Renderer
    {
        if (!in_array($env, array("dev", "prod"))) {
            throw new Server500(new \ArrayObject(array("explain" => "Bad environment name $env",
                "solution" => "Environment must be 'dev' or 'prod' ")));
        }
        $onelogs = AbstractServer::getLogs($env, 0, $uidie);

        if (empty($onelogs)) {
            throw new Server404(new \ArrayObject(array("explain" => "The error with uidie [".$uidie."] does not exist",
                "solution" => "Check the Uidie")));
        }
        return($this->render("logsdetails", array("details" => $onelogs, "selected" =>
            "logsmanager", "env" => strtolower($env), "loader_msg" => "Log with Uidie : $uidie")));
    }
public function logsdetailsActivity ( string $ uidie , string $ env ) : Renderer { if ( ! in_array ( $ env , array ( "dev" , "prod" ) ) ) { throw new Server500 ( new \ ArrayObject ( array ( "explain" => "Bad environment name $env" , "solution" => "Environment must be 'dev' or 'prod' " ) ) ) ; } $ onelogs = AbstractServer :: getLogs ( $ env , 0 , $ uidie ) ; if ( empty ( $ onelogs ) ) { throw new Server404 ( new \ ArrayObject ( array ( "explain" => "The error with uidie [" . $ uidie . "] does not exist" , "solution" => "Check the Uidie" ) ) ) ; } return ( $ this -> render ( "logsdetails" , array ( "details" => $ onelogs , "selected" => "logsmanager" , "env" => strtolower ( $ env ) , "loader_msg" => "Log with Uidie : $uidie" ) ) ) ; }
Get log details
@param string $uidie Unique identifier of iumio Exception
@param string $env Environment name
@throws Server404 If uidie does not exist
@throws Server500 If environement does not exist
@return Renderer
@throws \Exception
Get log details