Where to find the error logs from running an app on a device

Hi,
when running running in Android mode and attempting to run a program on a device, sometimes all the errors cannot be seen in the console (gradle errors mainly) - where are the error logs stored?

Any help is much appreciated.

Cheers.