\[\ln\left(x\pm\mathrm{i}0\right)=\ln|x|\pm i\pi,\]