A generalized logarithmic function looks like this:
$$\frac{(1-h)^{1-x}}{1-x}$$
Apparently if you take the limit of $x$ to $1$, the result is $\ln(1-h)$. However, I do not get this result. Somewhere in between u get 0/0, so you apply l'Hopital, and you take the derivative of the nominator and denominator separately, but then I go wrong somewhere...
Recall that
$$(1-h)^{1-x}=e^{(1-x)\log (1-h)}\implies [(1-h)^{1-x}]'=[e^{(1-x)\log (1-h)}]'=(1-h)^{1-x}\log(1-h)$$
and then by l'Hopital
$$\lim_{x\to 1}\frac{(1-h)^{1-x}-1}{ 1-x}=\lim_{x\to 1}\frac{(1-h)^{1-x}\log(1-h)}{ -1}=-\log (1-h)$$