I am reading about the dilogarithm function
$$ \mathrm{Li}_2(z):= - \int_0^z \frac{\log(1-u)}{u}du, \quad z \in \mathbb{C} \backslash [1, \infty).$$
I found it stated that the "jump" of the dilogarithm across the axis where it is not defined is $2\pi i \log(r)$ for crossing at $r>1$. Why is that so? I can see that $\log(1-u)$ jumps by $2\pi i$ when $u$ crosses the axis, but I cannot see how to procede from there.
Note that for $r=\text{Re}(z)>1$ and $\text{Im}(z)\to 0^\pm$, we have
$$\begin{align} -\int_0^z \frac{\log(1-u)}{u}\,du&=-\int_0^1 \frac{\log(1-u)}{u}\,du-\int_1^z \frac{\log(1-u)}{u}\,du\\\\ &=\frac{\pi^2}{6}-\int_1^r \frac{\log(|1-u|)\pm i\pi}{u}\,du\\\\ &=\frac{\pi^2}{6}-\int_1^r \frac{\log(|1-u|)}{u}\,du\mp i\pi \log(r)\\\\ \end{align}$$
Hence, the discontinuity is $2\pi i \log(r)$ as was to be shown!