I am solving the equation $e^z = 1 $ in $\mathbb{C}$. The book says, other than $z = 0$, $z = 2 \pi k i$ for $ k \in \mathbb{Z}$ is also the solution. It explains the solution by saying that $e^z$ is periodic function so that
$1 = e^z = e^{2\pi k i}$
However I want to know how the identity is derived to solve other cases such as $e^z = 2 $.
Note
$$e^z=2=e^{\ln2+2\pi ki}$$
which leads to the solutions
$$z = \ln 2+2\pi ki$$