I recently stumbled across a claim that $\ln |x| + C$ isn't the most general antiderivative of $1/x$. The argument was that the parts of the curve $\ln |x|$ separated by the $y$-axis do not have to be shifted by the same constant $C$. Therefore, an even more general antiderivative would be:
$ \displaystyle \int \frac{1}{x}\mathrm{d} x =\begin{cases} \ln x+D & x\gt 0 \\ \ln(-x) + C & x \lt0 \\ \end{cases} $
Where $D, C \in\mathbb{R}$ are real constants which may or may not be the same.
I am wondering why we typically say that the antiderivative of $1/x$ is $\ln |x| + C$, when there seems to be an even more general function. Does it make any practical difference to even make a distinction between these functions?