logcat method

Future<ProcessResult> logcat(
  1. LogcatOptions options, {
  2. bool debug = false,
})

Implementation

Future<ProcessResult> logcat(
  LogcatOptions options, {
  bool debug = false,
}) async {
  final args = ['logcat'];
  args.addAll(options.toArgs());
  return await _bridge.executor.execute(
    [..._connection.arguments, ...args],
    timeout: options.timeout,
    debug: debug,
  );
}