Reading the log from a store: everything the viewer needs.
Separated from LogStore so that code which only displays the log does
not depend on writing and cannot close a store owned by the application.
Every LogStore is also a LogReader.
- Implementers
Properties
-
changes
→ Stream<
LogStoreChange> -
Broadcast stream of changes: LogEntriesAdded for each saved batch of
entries, LogEntriesRemoved describing removed entries,
LogStoreInvalidated when a change cannot be described more precisely.
There may be several subscribers (for example, two open viewers).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryEntries(
[LogQuery query = const LogQuery()]) → Future< LogPage> -
A page of entries matching
query, with their ids (StoredLogEntry). The entries equal the written ones, with the sameLogEntry.attributes. -
queryTags(
) → Future< Set< String> > -
All tags (
LogEntry.tags) found in stored entries: for the filter of a viewer that loads entries page by page. Must not scan the log either: for example, a separate tag table or counters updated on write and removal. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited