MemoryAuditRepository class
In-memory AuditRepository keeping a bounded ring of recent entries.
- Implemented types
Constructors
- MemoryAuditRepository({int capacity = 10000})
- Creates an in-memory audit repository.
Properties
Methods
-
append(
AuditEntry entry) → Future< void> -
Appends
entryto the trail.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recent(
{int limit = 100}) → Future< List< AuditEntry> > -
Returns the most recent entries, newest first, up to
limit.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited