If you understand the trig way to do this, then you don't need to do it using complex variables. If you do want to do it that way you'll want to be careful about where the branch cuts are for your definition of log. If you don't know what a branch cut is then don't do it. It's needlessly complicated.