I have the domain $\mathbb{C} \backslash [0,1]$ and want to show that $$\int_\gamma \frac{1}{z(z-1)}dz = 0$$ for all closed curves $\gamma$. I want to accomplish this by explicitly finding an antiderivative.
I did a partial fraction decomposition and got $$f(z) = \frac{1}{z(z-1)} = \frac{1}{z-1} - \frac{1}{z}$$
Now $$ F(z) =\text{log}(z-1) - \text{log}(z)$$ would be an antiderivative but I don't feel comfortable with the complex logarithm yet. Is my $F(z)$ well-defined on my whole domain? If not, how do I find a well-defined antiderivative?
The expression $$ F(z)=\log(z−1)−\log(z) $$ is not well-defined on your domain, because neither $\log(z−1)$ nor $\log(z)$ are holomorphic in $\mathbb{C} \backslash [0,1]$. One can probably solve that by choosing the arguments of the logarithms carefully, but it becomes much easier if the right-hand side is rewritten as $\log \frac{z-1}{z}$.
The Möbius transformation $T(z) = \dfrac{z-1}{z}$ maps $\mathbb{\hat C} \backslash [0,1]$ conformally onto $\mathbb{C} \backslash (-\infty,0]$, so you can define $$ F(z) = \log \frac{z-1}{z} $$ where $$\log w = \log|w| + i \arg w \quad (-\pi < \arg w < \pi) $$ is a holomorphic branch of the logarithm on $\mathbb{C} \backslash (-\infty,0]$.
Then $F$ is an "explicit" antiderivate of $$ \frac{1}{z-1} - \frac{1}{z} $$ This can either be verified directly, or you argue as follows: In any disc $D \subset \mathbb{C} \backslash [0,1]$ $$ F(z) = \log(z-1) - \log z + C $$ for some holomorphic branch of $\log(z-1)$ and $ \log z$ in $D$, and the result follows by differentiation.