0

When filtering logcat in terminal by using adb it's possible to command like this:

adb logcat -d -T "01-26 00:00:00.000"

And filtering all logs after 01-26 00:00:00. But it doesn't work in programmatically mode. This is my Kotlin code:

Runtime.getRuntime().exec("logcat -d -T 01-26 00:00:00.000")

What's wrong with this code?

SadeQ digitALLife
  • 1,403
  • 4
  • 16
  • 22

0 Answers0