Surely you've been taught about the complex log function ....?
You should know that where is the principle argument of z and n is an integer. (The z here is not to be confused with the z in your question, by the way). Go back and review your class notes and textbook.