In complex analysis, let $a, b>0$ in $\mathbb R$, $f(s)=\int^{b}_{a}1/t^s dt$, then $f$ is holomorphic for $Re(s)>0$.
If $s\neq 1$, then $f(s)=\frac{a^{1-s}}{(1-s)}-\frac{b^{1-s}}{(1-s)}$, but if $s=1$, then $f(s)=\ln\big(\frac{b}{a}\big)$, they seems quite different in the form, how to prove that it is holomorphic?
For problems like this, you can use Morera's theorem (and Fubini).
For your particular case, check that the discontinuity of $\frac{a^{1-s}}{(1-s)}-\frac{b^{1-s}}{(1-s)}$ at $s=1$ is removable and $\lim_{s\to 1}\cdots=\ln(b/a)$.