• Stop an active bus log recording started by startLog and wait until the file is flushed and closed.

    Parameters

    Returns Promise<void>

    Promise resolving once all buffered frames are written and the ASC/BLF file is finalized.

    const logger = await startLog('logs/case_01.asc')
    // ... execute test ...
    await stopLog(logger)