Prove that
$$ \sum_{k = 1}^{n}\frac{1}{k} - \ln\left(n\right) \to \int_{0}^{1}\left[\frac{1}{1 - x} + \frac{1}{\ln\left(x\right)}\right]{\rm d}x \quad\mbox{as}\quad n\to\infty $$
I don't think this question is a duplicate of this post, because I'm looking for a more direct method. I also am not sure why the result from that post implies the result for this question. Here is the original source of this question.
I think it could be useful to substitute $x=e^{-t}$. Then $$ \int_{0}^{1}\left[\frac{1}{1 - x} + \frac{1}{\ln\left(x\right)}\right]{\rm d}x = \int_{\infty}^{0}\left({1 \over 1-e^{-t}} - {1 \over t}\right) \left(-{\rm e}^{-t}\right){\rm d}t = \int_{0}^{\infty}\left({{\rm e}^{-t} \over 1-{\rm e}^{-t}} + {{\rm e}^{-t} \over t}\right){\rm d}t $$ We also know that $$ \dfrac{e^{-t}}{t} = \sum_{n=1}^\infty\left[\,{\dfrac{e^{-nt}}{t} - \dfrac{e^{-(n+1)t}}{t}}\,\right]\quad\mbox{and}\quad \dfrac{e^{-t}}{1-e^{-t}} = \sum_{n=1}^\infty e^{-nt} $$ Thus, assuming we can interchange sums and integrals, we have $$ \int_{0}^{\infty}\left({{\rm e}^{-t} \over 1-e^{-t}} + {e^{-t} \over t}\right){\rm d}t = \sum_{n=1}^\infty \int_0^\infty \left[\,{\dfrac{e^{-nt}}{t} - \dfrac{e^{-(n+1)t}}{t}}\,\right]{\rm d}t + \dfrac{1}{n} $$ But I'm not sure how to evaluate $\int_{0}^{\infty}{\rm e}^{-nt}/t\,{\rm d}t $. Also, does the latter integral even exist $?$. I think I could use integration by parts or use the Taylor expansion of ${\rm e}$, but if I use the latter expansion, then I'm not sure how to justify interchanging integrals.
Edit: I'm looking for solutions that are elementary enough for me to understand. Using the DCT is fine since I've seen a proof of that and I've learned some basic measure theory. I don't currently fully understand any of the solutions in the proposed duplicate, so they're not elementary enough.
Edit #2: According to the solution below, it seems that $\int_{0}^{1}\dfrac{x^{n - 1} - 1}{\ln\left(x\right)}{\rm d}x = \ln\left(n\right)$. I was wondering how to prove this.