You need to build a class that will be a wrapper for the
android.util.Log class, that redirects the output to both file and console. Check this answer, it is a bit outdated but you can still follow the example and build such a class. This way you get the logs written to a file that you can check whenever you want.
CLICK HERE to find out more related problems solutions.