Let $\Omega \subseteq \mathbb{C}$ be open and connected such that $0 \notin \Omega$. Let $f: \Omega \to \mathbb{C}$ be a continuous function such that $e^{f(z)} = z$ for all $z \in \Omega$. Prove that $f$ is holomorphic and that $f'(z) = \frac{1}{z}$.
After asserting the first part I guess the second part is pretty trivial by just taking the derivatives of both sides (since $e^{f(z)}$ is holomorphic if $f(z)$ is holomorphic).
There is also a second part asking if there exists a continuous function $f: \mathbb{C} \setminus \{0\} \to \mathbb{C}$ such that $e^{f(z)} = z$ for all $z \in \mathbb{C} \setminus \{0\}$. The answer for this question shoul be no because in class we defined $\log(z)$ as the inverse of $e^z$ and showed that it is continuous in $\mathbb{C}\setminus (-\infty, 0]$ and discontinuous everywhere else.
Is what I said correct? How would I go about proving the first part? Thanks in advance!
Let $z \in \Omega $ and $(z_n)$ be a sequence in $\Omega\setminus \{ z \}$ with $z_n \to z$. Then $f(z_n) \to f(z)$ because $f$ is continuous, and $f(z_n) \ne f(z)$ because $f$ is necessarily injective. It follows that $$ \frac{f(z_n)-f(z)}{z_n-z} = \left(\frac{e^{f(z_n)}-e^{f(z)}}{f(z_n)-f(z)}\right)^{-1} \to \left( e^{f(z)}\right)^{-1} = \frac 1z $$ because $\exp$ is differentiable at $f(z)$ with $\exp' = \exp$. This demonstrates that $f$ is complex differentiable with $f'(z) = 1/z$.
More generally: If $f: \Omega \to D$ is continuous at $z_0 \in \Omega$, $g:D \to \Omega$ is holomorphic with $g(f(z)) = z$ for all $z \in \Omega$, and $g'(f(z_0)) \ne 0$, then $f$ is complex differentiable at $z_0$ with $$ f'(z_0) = \lim_{z\to z_0}\frac{f(z)-f(z_0)}{z-z_0} = \lim_{z\to z_0} \left(\frac{g(f(z))-g(f(z_0))}{f(z)-f(z_0)}\right)^{-1} = \left( g'(f(z_0))\right)^{-1} \, . $$
In other words: If $g$ is holomorphic, $g'\ne 0$, the existence of an inverse function $f$ is given and $f$ is assumed to be continuous, then the holomorphy of $f$ follows directly from the definition of the complex derivative.
For the second part of your question, see e.g. No holomorphic logarithmn.