How to see game logs in compiled game? Android

I have some issues in my android game (lags). I want to find out what happens when my game lags, what does unity process, what errors or so… In the editor there is no lags and errors, so I need to see logs when it runs compiled version on Android.

Question: Is there any way to see it inside the compiled game?

You can use logcat to connect to you phone and see what logs you get.
Depending on your unity version there is a logcat package that you can use for this.