ConsoleLogger

Central sink for native console capture, manual entries and DevViewLogWriter.

log enqueues into a bounded, drop-oldest channel from any thread. A single collector owned by Console drains that queue into bounded, observable history. Entries submitted before initialization or between collector lifetimes remain buffered within the limit.

See also

Properties

Link copied to clipboard

Whether retained history contains any entries.

Link copied to clipboard

Read-only snapshot of retained entries, oldest first.

Functions

Link copied to clipboard
fun log(log: ConsoleLog)

Records an entry with a fresh internal occurrence ID, even when submitted repeatedly.