Wolfram-Alpha returns this snippet at the end of the "step by step solution":

I'm confused by the negation of the expression inside the logarithm. The definition of complex logarithm is:
$$log(z) = ln|z| + i (Arg(z) + 2k\pi)$$
An easy example is $z = 1$, which gives $log(z) = 0$ and $log(-z) = i\pi$. So $log(z) \ne log(-z)$ in the general case.
Am I missing something obvious here? Thanks for any pointer.
Note that $|1-2e^{it}| = |-1+2e^{it}|$. So if there's any difference in the two expressions, it's in the argument. The argument of $1-2e^{it}$ is equal to $\pi$ plus the argument of $-1+2e^{it}$, since it is the opposite vector. This $\pi$ (times $i$, from $i(\arg z+2k\pi)$) is absorbed into the "+constant."