:
$$\text{series}\left(\log(1-x), x, 0,5\right) = -x - \frac{x^2}{2} - \frac{x^3}{3} - \frac{x^4}{4}+ O\left(x^5\right)$$ If the second argument is missing, the variable is assumed to be x.