snapshot method

List<LogRecord> snapshot()

Unmodifiable view of the current buffer, oldest first.

Implementation

List<LogRecord> snapshot() => List.unmodifiable(_records);