In my introductory complex analysis course, the professor mentioned that we can define the complex logarithm via an integral instead of the standard branch cuts method. He didn't prove it but left us with this:
On a simply connected domain $G \subset \mathbb{C}\setminus\{0\}, 1 \in G,$ define $\log z=\int_{1}^{z}\frac{1}{w} dw$, the integral is taken over an arbitrary path from $1$ to $z$. Then, we can say that $e^{\log z}≡ z$ in $G$.
Could someone help me verify this?
In THIS ANSWER, I showed in detail that if $\gamma$ is a rectifiable path in $\mathbb{C}\setminus\{0\}$ from $1$ to $z=re^{i\theta}$, then there is a $k\in\mathbb{Z}$ such that $\displaystyle\int_{\gamma}\dfrac 1w\,dw=\log r+i(\theta+2\pi k)$.
Therefore, using this result detailed in the referenced post reveals that
$$\begin{align} e^{\int_\gamma \frac1w\,dw}&=e^{\log(r)+i(\theta+2\pi k)}\\\\ &=\underbrace{re^{i\theta}}_{=z} \,\,\,\,\underbrace{e^{i2\pi k}}_{=1}\\\\ &=z \end{align}$$
as was to be shown!