Hello. I am attempting to evaluate

$\displaystyle \displaystyle \int_0^\infty \frac{x^{1/4}}{1+x^3}$

using a contour integral on the function $\displaystyle \displaystyle \frac{e^{(1/4)\log z}}{1+z^3}$. My contour will be a "keyhole contour" suggested by Wikipedia: Methods of contour integration - Wikipedia, the free encyclopedia.

I tried to follow their example, but could not understand this:

$\displaystyle \displaystyle \int_R^\varepsilon {\sqrt{z} \over z^2+6z+8}\,dz=\int_R^\varepsilon {e^{{1\over 2} \mathrm{Log}(z)} \over z^2+6z+8}\,dz=\int_R^\varepsilon {e^{{1\over 2}(\log{|z|}+i \arg{z})} \over z^2+6z+8}\,dz=\int_R^\varepsilon { e^{{1\over 2}\log{|z|}}e^{1/2(2\pi i)} \over z^2+6z+8}\,dz$

Why is it permissible to substitute $\displaystyle \text{arg }z=2\pi$? Is it perhaps because they have taken $\displaystyle R\to \infty$, so this line gets close to the $\displaystyle 2\pi$ position?

I would appreciate any clarification on this example.