PureeBufferedLog

data class PureeBufferedLog(val id: Long = 0, val createdAt: Instant, val log: JsonObject)

Data class representing a log entry that has been buffered for batch processing.

PureeBufferedLog encapsulates a log that has been temporarily stored in a com.cookpad.puree.kmp.store.PureeLogStore before being sent to its final destination. It is used by com.cookpad.puree.kmp.output.PureeBufferedOutput to implement the buffering mechanism that allows logs to be collected and processed in batches rather than individually.

Constructors

Link copied to clipboard
constructor(id: Long = 0, createdAt: Instant, log: JsonObject)

Properties

Link copied to clipboard
val createdAt: Instant

The date and time when this log entry was created.

Link copied to clipboard
val id: Long = 0

The unique identifier of this log entry.

Link copied to clipboard

The actual log content serialized in JSON format.