Step 1: Integration undoes differentiation:
An antiderivative is a function whose derivative equals the integrand. So we can test the logarithm candidates by differentiating them. We need one whose derivative is $\frac{1}{x-1}$.
Step 2: Differentiate a logarithm of a linear term:
For any constant $c$, $\frac{d}{dx}\log|x + c| = \frac{1}{x+c}$.
Take $c = -1$:
\[ \frac{d}{dx}\log|x-1| = \frac{1}{x-1} \]
So $\int \frac{dx}{x-1} = \log|x-1| + k$, where $k$ is the constant of integration.
Step 3: Test the remaining options:
$\frac{d}{dx}\log|x+1| = \frac{1}{x+1}$, so option (A) is wrong.
$\frac{d}{dx}\left(-\log|x+1|\right) = -\frac{1}{x+1}$, so option (B) is wrong.
$\frac{d}{dx}\log x = \frac{1}{x}$, so option (D) is wrong.
Final Answer:
Only option (C) differentiates back to $\frac{1}{x-1}$, so the integral is $\log|x-1| + k$.
\[ \boxed{\log|x-1| + k} \]