Add an entry to the log with the given sequence id
The sequenceId must be the next available sequence id in the log. This is returned as endSequenceId when
making a query for the last entry in the log. Returns a ConflictError if not the next available id.
Any other problem with serializing the entry will return a StorageError.
Return a range of entries from first to last inclusive
The event log may return fewer entries than requested. If so, repeat the query starting from nextSequenceId.
SequenceId of first entry to return.
Use 'start' to query from the first entry in the log.
Use 'snapshot' to query from the most recent entry with a snapshot, or the first if no snapshot is defined.
SequenceId one after the last entry to return.
Use 'end' to query everything to the end of the log.
Set some or all of a log entry's metadata fields
Changes are atomic. Either all of the specified fields are updated or none are.
All entries prior to start are removed from the log.
Wrapper around an EventLog that injects latency
Intended for use when simulating the effects of latency in a real implementation