code: @Override public void run() {
      super.run();
      try {
        process = Runtime.getRuntime().exec("logcat -v time");
      } catch (IOException e) {
        Log.e(LOGTAG, "IOException executing logcat command.", e);
      }
      readLogcat();
    }
docs: Starts reading traces from the application logcat and notifying listeners if needed.