I would appreciate help understanding a relation in Edwards's "Riemann's Zeta Function."
On page 30 he has:
$$\int_{C^{+}} \frac{t^{\beta - 1}}{\log t}dt = \int_{0}^{x^{\beta}}\frac{du}{\log u}= \mathrm {Li} (x^{\beta}) - i\pi$$
He states for $\beta$ positive and real, change variables $u = t^{\beta}$ which implies $\log t = \log u/\beta$ and $dt/t = du/u \beta$.
Here $C^{+}$ is a path which is a line segment from $0$ to $1 - \epsilon$ and passes over the singularity at $u = 1$ in a semi-circle in the upper half-plane and continues in a line segment from $1 + \epsilon$ to $1$.
I would appreciate help with two aspects:
-- Since most of the discussions of the logarithmic integral I have seen take the integral from $2$ rather than from $0$, how do you treat what looks like a $- \mathrm {Li}(0)$ term?
-- How do you actually get the $- i \pi$ term. I would guess it's from integrating around the half-circle above $u = 1$ in a clockwise direction. But I have tried parametrization with $u = r e^{i \theta}$. Maybe this is something I should know from complex analysis.
Thanks very much.

The standard notation is $\DeclareMathOperator{\li}{li} \DeclareMathOperator{\Li}{Li}$
$$\begin{align} \li x &= \int_0^x \frac{dt}{\log t}\\ \Li x &= \int_2^x \frac{dt}{\log t} = \li x - \li 2 \end{align}$$
where the $\li$ integral is to be interpreted as the Cauchy principal value
$$\li x = \lim_{\varepsilon \searrow 0} \left(\int_0^{1-\varepsilon} \frac{dt}{\log t} + \int_{1+\varepsilon}^x \frac{dt}{\log x}\right)$$
for $x > 1$ (and similarly for the $\Li$ integral if $x < 1$; neither integral is finite for $x = 1$).
Integrating over the path $C^+$ gives
$$\begin{align} \int_{C^+} \frac{t^{\beta-1}}{\log t}\, dt &= \int_0^{1-\varepsilon} \frac{t^{\beta-1}}{\log t}\,dt + \int_{1+\varepsilon}^x \frac{t^{\beta-1}}{\log t}\,dt + \underbrace{\int_0^\pi \frac{(1+\varepsilon e^{i(\pi-\varphi)})^{\beta-1}}{\log (1+\varepsilon e^{i(\pi-\varphi)})} (-i\varepsilon e^{i(\pi-\varphi)})\,d\varphi}_{\rho(\varepsilon)}\\ &= \int_0^{(1-\varepsilon)^{\beta}} \frac{du}{\log u} + \int_{(1+\varepsilon)^{\beta}}^{x^\beta} \frac{du}{\log u} + \rho(\varepsilon). \end{align}$$
Even though $(1-\varepsilon)^\beta$ and $(1+\varepsilon)^\beta$ aren't (for $\beta \neq 1$) quite symmetric about $1$, we have
$$\lim_{\varepsilon\searrow 0} \left(\int_0^{(1-\varepsilon)^{\beta}} \frac{du}{\log u} + \int_{(1+\varepsilon)^{\beta}}^{x^\beta} \frac{du}{\log u}\right) = \li(x^\beta),$$
since the asymmetry is of order $O(\varepsilon^2)$.
By a Laurent expansion of $\dfrac{z^{\beta-1}}{\log z}$ about $1$ (or by multiple other means), one can easily see that
$$\lim_{\varepsilon\searrow 0} \rho(\varepsilon) = -\pi i \operatorname{Res}_{z=1} \frac{z^{\beta-1}}{\log z} = -\pi i.$$
Since the integral over $C^+$ does not depend on $\varepsilon > 0$ by Cauchy's integral theorem, we have
$$\int_{C^+} \frac{t^{\beta-1}}{\log t}\, dt = \li(x^\beta) -\pi i.$$
Edwards seems to use non-standard notation and calls $\Li$ what usually is called $\li$.