PureeBufferedLog

data class PureeBufferedLog(id: Long, createdAt: Instant, log: JSONObject)

Log object that is buffered to a com.cookpad.puree.kotlin.store.PureeLogStore. Used by com.cookpad.puree.kotlin.output.PureeBufferedOutput

Constructors

PureeBufferedLog
Link copied to clipboard
fun PureeBufferedLog(id: Long = 0, createdAt: Instant, log: JSONObject)

Properties

createdAt
Link copied to clipboard
val createdAt: Instant
The date and time when this log is posted.
id
Link copied to clipboard
val id: Long = 0
The unique identifier of this log.
log
Link copied to clipboard
val log: JSONObject
The log serialized in JSON format.