4. The function $y=\log _{a}|x+1|$ is monotonically increasing on $(-1,0)$. Then it is on $(-\infty,-1)$
(A) monotonically increasing
(B) monotonically decreasing
(C) neither increasing nor decreasing
(D) indeterminate in terms of increasing or decreasing
B

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.