I was playing around with the integral: $$\int_{-\infty}^{\infty} \frac{\log(1+e^{-z})}{1+e^{-z}}dz$$
I couldn't find a way of solving it, but I used WolframAlpha to find that the integral evaluated to $\zeta(2)$ or $\frac{\pi^2}{6}$.
How would I go around finding the solution?
My experience with integrals is very limited, but I think the solution can possibly be found using the polylogarithm (saw a similar integral use it), but I don't know much of the function so maybe someone on here could help me.
I initially tried rewriting the $\frac{1}{1+e^{-z}}$ as a geometric series, but I don't think that works.
Then I looked at finding the poles and drawing a contour, but I also don't think that works.
Is there some identity that can be used here, which I happen not to know?
Any help is appreciated, especially if you could show your working out step by step.