I am trying to determine the convergence of the integral \begin{equation} \int_0^1 \frac{f(x)}{x}\, dx \end{equation} given that $f(x)$ is bounded and continuous on $[0,1]$, and that $f(x)=0$. The boundedness is just so that the question of convergence is only at the point $x=0$. I specifically want $f$ to be only continuous on $[0,1]$ and not differentiable in a neighborhood of the origin as I could just use a Taylor expansion of $f$ to solve the problem then.
I believe that the integral should converge but I can't figure out exactly how to write it down. Since $1/x$ is the critical exponent of convergence near $0$ it seems that multiplying $1/x$ by any function which vanishes at the origin should be enough to make the integral converge. More concretely, if $f(x)=x^{1/n} log(x)^m$ then $\lim_{x \to 0} f(x)=0$ for all positive values of $n$ and $m$, and $\int_0^1 f(x)/x \, dx < \infty$. The derivative of these $f$ become infinite as $x\to 0$, and at faster rates for larger $m$ and $n$, so they are good candidates for $\int f(x)/x$ to not converge, yet the integral still converges.
Any suggestions for a proof, or a counterexample to show the integral does not always converge would be much appreciated.