It may all depend on the meaning you give to things...and on the way you write things that are agreed by almost everybody else.
If we take a finite sum of real numbers then we can use commutativity, associativity and etc. with, so we could agree that
$$\sum_{k=1}^n\frac1{2k-1}-\sum_{k=1}^n\frac1{2k}=\left(1+\frac13+\ldots+\frac1{2n-1}\right)-\left(\frac12+\frac14+\ldots+\frac1{2n}\right)=$$
$$=1-\frac12+\frac13-\frac14+\ldots+\frac1{2n-1}-\frac1{2n} (**)$$
and then indeed we get
$$\lim_{n\to\infty}\left(\sum_{k=1}^n\frac1{2k-1}-\sum_{k=1}^n\frac1{2k}\right)=\lim_{n\to\infty}\left(1-\frac12+\frac13-\frac14+\ldots+\frac1{2n-1}-\frac1{2n}\right)=\log2$$
since we have the power series
$$\log(1+x)=\sum_{n=1}^\infty(-1)^{n+1}\frac{x^n}n$$
which is valid for $\;|x|\le1\;$ (why?), and thus with $\;x=1\;$ we get the above result.
Observe though that we could have agreed in $\;(**)\;$ that, for example:
$$\left(1+\frac13+\ldots+\frac1{2n-1}\right)-\left(\frac12+\frac14+\ldots+\frac1{2n}\right)=$$
$$=1-\frac12-\frac14+\frac13-\frac16-\frac18+\frac15-\ldots=\frac12\log2$$
and we get something different! This can happen, and actually does happen, when we rearrange the terms of a conditionally convergent series, as the alteranting harmonic series is, which you can rearrange it to get any sum you want, up to and including $\;\pm\infty\;$ !
You may want to read about "Riemann Theorem" in series. Google it...it is fascinating.