(ids?: readonly LogId[])
| 489 | } |
| 490 | |
| 491 | async clear(ids?: readonly LogId[]): Promise<void> { |
| 492 | const args = ["logcat", "-c"]; |
| 493 | if (ids && ids.length > 0) { |
| 494 | args.push("-b", Logcat.joinLogId(ids)); |
| 495 | } |
| 496 | |
| 497 | await this.adb.subprocess.noneProtocol.spawnWaitText(args); |
| 498 | } |
| 499 | |
| 500 | binary(options?: LogcatOptions): ReadableStream<AndroidLogEntry> { |
| 501 | return new WrapReadableStream(async () => { |
no test coverage detected