We want to collect log while the app is not in a development environment. We can use Logger to send log to a file. But there are also many unhandled exceptions we would like to