Handle returned by startLog representing an active main-process log recording session.

interface LogRecorder {
    format: LogFormat;
    id: string;
    path: string;
    stopped: boolean;
    stop(): Promise<void>;
}

Properties

Methods

Properties

format: LogFormat

Effective format ('asc' or 'blf').

id: string

Opaque recorder identifier managed by the main process.

path: string

Resolved absolute path of the generated .asc or .blf file.

stopped: boolean

Whether stop (or stopLog / stopAllLogs) has already stopped this recorder.

Methods

  • Stop recording, flush all buffered frames, and finalize the log file on disk.

    Returns Promise<void>

    Calling stop() more than once is a safe no-op.