I would like to show that $ \log(x^2 + y^2) $ is not the real part of any analytic function in $ \mathbb{C} - \{0\} $ A similar question can be found here, but I don't think this argument is satisfactory.
Here are my thoughts on the problem. On the domain $ \mathbb{C} - \{x \geq 0\} $, $ \log(x^2 + y^2) = \mathfrak{Re}(\log(z^2)) $. Therefore, if I can show the only analytic function with real part $ \log(x^2 + y^2) $ is $ \log(z^2) $ then the problem is solved, since $ \log(z^2) $ is not analytic on the positive real-axis. The problem I have is I don't know how to show that the only analytic function with real part $ \log(x^2 + y^2) $ is $ \log(z^2) $
Any tips?