LogStart

sealed interface LogStart(source)

Where a read of the device log starts.

Inheritors

Types

Link copied to clipboard
data class After(val cursor: Long) : LogStart

What came after this cursor (LogEntry.cursor, or what DeviceLog.mark returned).

Link copied to clipboard
data object LastAction : LogStart

The start of the newest action, that entry included; everything when there is none.

Link copied to clipboard
data class Marker(val name: String) : LogStart

The newest marker with this name (DeviceLog.mark), the marker included. A read fails with ServerException (FailureReason.UNKNOWN_LOG_MARKER) when there is none.

Link copied to clipboard
data object Oldest : LogStart

The oldest entry the server still has.

Link copied to clipboard
data class Tail(val count: Int) : LogStart

The newest count entries that pass the filter (1 to 100000).