I have a very complex app focused on a private audience and for professional use. It is not in the Play Store or other stores. Recently users have encountered serious and non-replicable bugs that if I were able to read the logs I could easily find the problem. With that idea in mind, I want to create a file or something similar when the app fail, where the fail log information is stored. Is there a way to do this?