EventLogger

interface EventLogger

An interface for a persistent logger for recording events.

See SimpleEventLogger for an implementation backed by org.multipaz.storage.Storage and also includes an functionality for inspecting, filtering, amending, and deleting events as well as observing when events are added or removed.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun addEvent(event: Event): Event?

Adds an event to the log.

Link copied to clipboard
abstract fun addEventAsync(event: Event)

Asynchronously adds an event to the log.