Let
$$x_1={1 \over \tan(x)}$$
$$x_2={1+\tan^2(x)\over 2\tan(x)}$$
$$x_3={1+3\tan^2(x)\over 3\tan(x)+\tan^3(x)}$$
$$x_4={1+6\tan^2(x)+\tan^4(x)\over 4\tan(x)+4\tan^3(x)})$$
$$x_n={{n\choose 0}+{n\choose 2}t^2+{n\choose 4}t^4+\cdots\over {n\choose 1}t+{n\choose 3}t^3+{n\choose 5}t^5}, t=\tan(x)$$
$$\int_{0}^{\pi\over 4}{\ln(x_n)\over \cos^2(x)}\mathrm dx=F(n)\tag1$$
$$F(1)=1$$ $$F(2)={\pi\over 2}-1$$ $$F(3)=1-{\pi\over 3\sqrt{3}}$$ $$F(4)=(\sqrt{2}-1)\pi-1$$
I am unable to work out the closed form for $(1)$.
How do we evaluate the closed form for $(1)?$