getLogs

suspend fun getLogs(normal: Boolean = true, info: Boolean = true, warning: Boolean = true, critical: Boolean = true, lastKnownId: Int = -1): List<LogEntry>

Parameters

normal

Include normal messages (default: true)

info

Include info messages (default: true)

warning

Include warning messages (default: true)

critical

Include critical messages (default: true)

lastKnownId

Exclude messages with "message id" <= last_known_id (default: -1)