Can someone explain me, why result $\int \frac{e^x}{e^x+1}$ is $ln(-e^x-1)$ according to WolframAlpha. It is all clear for me until last step (if you click show steps).
I guess that $ln(e^x+1)$ is solution for all non-complex values of x, and $ln(-e^x-1)$ is solution for complex values of x. Am I right?
I have not had any complex analysis course yet, so I am curious :)

