Let $a\leq b$ and $\Gamma$ be the unit circle (in the complex plane). I found that $\int_\Gamma \frac{\log(b-az)}{z} dz=2\pi i\log(b)$. It seems like Cauchy's integral formula has been used here.
I want to know why the conditions of Cauchy's integral formula are fulfilled. The conditions are that $\log(b-az)$ is holomorphic on some open set $U \in \mathbb{C}$ that contains the closed unit disc.
What can I choose for $U$? Maybe $U = \{z \in \mathbb{C} \mid Re(b-az) >0\}$? Because then I avoid the branch cut and $\log (b-az)$ is holomorphic on $U$. However, then if $a=b$, the closed (!) unit disc is not contained in $U$. And if I change the "$>$" in the definition of $U$ to a "$\geq$", then $\log(b-az)$ is not any longer defined on all of $U$.
What do I do wrong?