Let $\displaystyle\gamma$ be a closed curve exactly located in $A =\mathbb C \setminus\{z\in\mathbb C: Re(z)\leq 0\}$.
I found a similar problem here : Find $\int_{\gamma}\frac{dz}z$, but they concluded that the value of the contour integral is $\displaystyle i\pi$.
How does the result changes for this problem?
This answer is quite topological. If you are familiar with differential forms, you’d notice $\frac {1}{z}$ is holomorphic in $A$. Hence $\frac {\mathrm{d}z}{z}$ is a closed form. Further notice, $A$ is simply connected, hence the the closed form $\frac {\mathrm{d}z}{z}$ is actually an exact form. So it must have $0$ integral on any closed path.