This is a special case of a form of the Fundamental Theorem of Calculus applied to the complex plane:

If is continous and such that there exists with on then for any curve we have that . To prove this (assuming is or piecewise so) we just note that

PS. I'm naming and it's trace [tex]\Gamma[/tex] as the same.