Implements IPersistLogInstance
Default file-based implementation of IPersistLogInstance.
Features:
constructor();
_storage: any
Underlying file-based storage for log entries
waitForInit(initial: boolean): Promise<void>;
Initializes the underlying PersistBase storage.
readLogData(): Promise<LogData>;
Reads all persisted log entries by iterating storage keys.
writeLogData(logData: LogData): Promise<void>;
Writes log entries append-only — skips entries whose id already exists so the log file is never overwritten.