Through this guide, you will be introduced how to obtain logs which contains warning, error and general information messages.
Android Logcat Package is a utility for displaying log messages coming from Android device in Unity Editor. Android Logcat works for any Android device including Oculus.
Install Android Logcat from Unity package manager to see all the logs from the Android device.
Window > Package Manager > Select Packages : Unity Registry > Search Android Logcat > Install
Android Logcat will be run automatically when you launch the app from Unity.
Alternatively, you can start it manually : Window > Analysis > Android Logcat.
Alternative tool for Oculus is to use Meta Quest Developer Hub.
Meta Quest Developer Hub > Device Manager > Device Logs