Hi. I am trying to dump logcat for each test or even better for each failing test.
I am using WebDriver in Appium 2.5.1:
self.driver.get_log('logcat')
but not sure what would be best way to dump it to a file. I tried using Python logging module for that but this does not give me logcat in nice format. What would be the best way to dump this to a file?