UNPKG

appium-adb

Version:

Android Debug Bridge interface

29 lines 941 B
import { EventEmitter } from 'node:events'; import type { ADBExecutable } from './types'; import type { LogEntry, LogcatOpts as StartCaptureOptions } from './tools/types'; export interface LogcatOptions { adb: ADBExecutable; clearDeviceLogsOnStart?: boolean; debug?: boolean; debugTrace?: boolean; maxBufferSize?: number; } export declare class Logcat extends EventEmitter { private readonly adb; private readonly clearLogs; private readonly debug?; private readonly debugTrace?; private readonly maxBufferSize; private readonly logs; private logIndexSinceLastRequest; private proc; constructor(opts: LogcatOptions); startCapture(opts?: StartCaptureOptions): Promise<void>; stopCapture(): Promise<void>; getLogs(): LogEntry[]; getAllLogs(): LogEntry[]; clear(): Promise<void>; private outputHandler; } export default Logcat; //# sourceMappingURL=logcat.d.ts.map