query method
The kept records that match query (all of them by default), oldest
first, as an unmodifiable list.
Implementation
List<SpringLogRecord> query([LogQuery query = const LogQuery()]) =>
List.unmodifiable(_records.where(query.matches));