I am trying to compute this integral:
$$I = \int_0^{\infty} \frac{1}{e^x + x}dx$$
I don't see any obvious ways to integrate this using real methods.
So, now I'm trying to integrate with using complex analysis, I tried to transform the equation with $z = e^{-x}$ and get
$$I = \int_0^1 \frac{1}{1-z\log(z)}dz$$
I see that a pole of the above is $z = \frac{1}{W(1)}$, which is the Lambert W function
When I evaluate the residue, I get the value 0.
$$\text{Res}_{z \rightarrow \frac{1}{W(1)}}\left(\frac{1}{1-z \log (z)},f(z)\right) = 0$$
Assistance on next steps and a solution would be appreciated.