Computes the natural log of the pdf function evaluated at x. Implementations may want to specify computationally efficient formulas for this function.