The trivial line bundle $\newcommand{\bC}{\mathbb{C}}$ $\underline{\bC}_M:=\bC\times M\to M$ over a complex manifold $M$ admits a trivial metric $h_0$. This is defined by requiring that the trivial section $u_0$
$$ M\ni p\mapsto u_0(p)=1\in\bC$$
has pointwise length $1$. If $h$ is another metric on $\underline{\bC}_M$, then $h= w^2\cdot h_0$ where $w$ is the positive function $w(p)=|u_0(p)|_h$, $p\in M$. The function $w$ thus can be expressed as an exponential $w= e^{-\varphi/2}$,
$$\varphi=\log |u_0|_h^2. $$
As shown in many books on complex differential geometry (e.g. Griffiths and Harris) the curvature of this line bundle is
$$ \bar{\partial}\partial \log |u_0|_h^2= - \bar{\partial}\partial \varphi. $$