To test convergence of improper integral
$$\int_{0}^{1} \left(\log\left(\frac{1}{x}\right)\right)^m\,\mathrm dx$$
I made cases and I am stuck on case in which I have to check convergence for $m< 0 , x =1$ is the point of infinite discontinuity of f on $[\frac{1}{2},1]$ after splitting integral at $1/2 .$ Problem is that I use series $\frac{1}{(1-x)^r}$ to apply comparison and I am getting
$$\lim_{x \to 1}(1-x)^{-r}(\log 1/x)^m$$
So, I am getting $r$ to be less than $0.$ But in textbook they say $m < 1\,.$