I was messing around with Euler's formula by changing up the values $e$ and $\pi$, and found the following trend:

$$a^{i\frac{\Large \pi}{\Large \log(a)}} = -1$$

It seems to work for all positive real numbers. Is this true? I haven't learned about the identity in school so I apologize if this is trivial or common sense. Thanks!