I have this problem right here:
Find a branch of $\log{(z^2+1)}$ that is analytic as $z=0$ and takes the value $2\pi i$ there.
If I just plug in $z=0$ and use the principal branch I would just get $0$, $\log{1}$ is $0$ and the argument is $0$? So what do i do? Can i just cut the plane at the negative real axis and define the branch as $\pi \leq \arg{z} < {3\pi}$ ? If so how do i state that mathematically?