Logarithm doubt ...

I know that log of a negative number is not possible but, $\mathrm{log}(-5{)}^{2}$ is possible. Therefore $\mathrm{log}(-5{)}^{2}=2\mathrm{log}(-5)$ but $\mathrm{log}(-5)$ is not possible but $log$ of $-5$ square is possible ....can anyone explain this? Thanks

I know that log of a negative number is not possible but, $\mathrm{log}(-5{)}^{2}$ is possible. Therefore $\mathrm{log}(-5{)}^{2}=2\mathrm{log}(-5)$ but $\mathrm{log}(-5)$ is not possible but $log$ of $-5$ square is possible ....can anyone explain this? Thanks