Is there any fantastic way to proving this identity?
$$\int_0^{2\pi} \log \left| 1-ae^{i\theta}\right|d\theta =0$$
I used power series approach(we have $2\log |1-z|=\log (1-z)(1-\bar{z})$), which was unsuccessful to show the result when $|a|=1$ because the series $\log(1-z)=-\sum_{n=1}^{\infty} z^n/n$ does not converge uniformly for $|z|=1$.
Any solution is appreciated. Thanks.