InMemoryAnalyticsDebugStore

class InMemoryAnalyticsDebugStore(capacity: Int = DEFAULT_CAPACITY) : AnalyticsDebugStore

Bounded in-memory AnalyticsDebugStore backed by a StateFlow.

The oldest entry is evicted when capacity is reached, preventing debug capture from growing for the entire app process lifetime.

Constructors

Link copied to clipboard
constructor(capacity: Int = DEFAULT_CAPACITY)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val entries: StateFlow<List<AnalyticsDebugEntry>>

Functions

Link copied to clipboard
open override fun append(entry: AnalyticsDebugEntry)
Link copied to clipboard
open override fun clear()