I know it must be pretty easy but i just can't get it. I try to use the fact that $$e^{clogz}=z^c$$ $c \in C$ but still i can't. Can you write all of the steps in order to understand what i'm missing in solving equations of this type.
I need to solve $$z^{1+i}=4$$
\begin{align*} z^{1+i} &= 4 \\ (1+i) \log z &= \ln 4+2n\pi i \\ \log z &= \frac{\ln 4+2n\pi i}{1+i} \\ &= \frac{(\ln 4+2n\pi i)(1-i)}{2} \\ &= \left( \ln 2+n\pi \right)+i(n\pi-\ln 2) \\ z &= 2e^{n\pi} \operatorname{cis} (n\pi-\ln 2) \end{align*}
where $n\in \mathbb{Z}$