Ingenuity Gaming interview question

How to take error log while testing mobile application.