Creates new log persistence instance. No context parameters — there is a single global log storage.
Reads all persisted log entries by iterating storage keys.
Promise resolving to array of log entries
Initializes the underlying PersistBase storage.
Whether this is the first initialization
Promise that resolves when initialization is complete
Writes log entries append-only — skips entries whose id already exists so the log file is never overwritten.
Log entries to persist
Promise that resolves when all writes are complete
Default file-based implementation of IPersistLogInstance.
Features:
Example