Thus, the inverse function \( f^{-1}(y) \) can be expressed as:
\[
f^{-1}(y) = \log(y - \sqrt{y^2 + 3}) \quad \text{or} \quad f^{-1}(y) = \log(y + \sqrt{y^2 + 3})
\]
The complete inverse function is:
\[
\boxed{f^{-1}(y) = \log(y \pm \sqrt{y^2 + 3})}
\]