Let $f(x) = \ln(\cos x).$ Assume that $x$ is restricted so that $\ln$ is defined. Find Answer:

Note: if the value is not defined, enter undefined.