Let $z = a + bi \in \mathbb{C} \cong \mathbb{R}^2$. Some books define the argument of $z$ as the angle between the vector $z$ and the abscissa axis, in the counter-clockwise. So, $\arg \left( z \right) \in [0,2\pi)$.
But in other books, the argument of $z$ is the lower angle between the vector $z$ and the abscissa axis. So $\arg \left( z \right) \in (- \pi , \pi]$. When the counter-clockwise, $\arg(z) \geq 0$. When clockwise, $\arg(z) < 0$.
My first question: which is the "best" definition? Which of them is the "less problematic" definition of the argument of a complex number?
My second question: is there a formula for the argument of a complex number? In each case?
I don't claim this is the "best" definition of argument but here is one approach.
Recall that any $w\in\mathbb{C}\setminus\{0\}$ can be expressed as $$w=|w|e^{i\theta}$$ for some $\theta\in\mathbb{R}$, where $|w|=\sqrt{\operatorname{Re}^2(w) +\operatorname{Im}^2(w)}$.
Once argument is defined, it is possible to extend the notion of Logarithm to the complex plane. This is one way to do it: