You can use adb to collect logs from a device you have physical access to. Visit our guide for using adb to collect logs from your device
Alternatively, you can use X-Ray to remotely view logs. Visit our CLI documentation for the mason xray logcat
command