Let $f(z)$ be an analytic function on $A(0,1)=\{z\in\mathbb{C}\mid0<|z|<1\}$ such that $$\forall z\in A(0,1)\quad|f(z)|\le\log\bigg(\frac 1 {|z|}\bigg).$$ Prove $f\equiv 0.$
Define $g(z)=e^{f(z)}$ and note that $$\forall z\in A(0,1),\quad |g(z)|=e^{\Re f(z)}\le e^{|f(z)|}\le e^{\log |z|^{-1}}=\frac{1}{|z|}.$$ Now I don't know how to prove $g\equiv c$. Suppose I did that, $f=\ln c$ but since $f(1)=0$ we get the result.
As said, I'm struggling with proving that g is constant. I thought doing it By applying Cauchy integral formula but I only succeeded bounding the derivative.
How can I prove $g$ is constant ?