Docs Platform

LogStream

A following log. The machine owns pause and filters. Prefill, interval, and max-lines clocks stay outside the machine.

Live machine

The shipped logStreamMachine, prefilled with two source lines. TICK appends the next one; pause and level filters are machine context, not DOM state.

log-stream · live via createService

No lines yet — START seeds from the source.

States · walked from the machine

runningpaused

Transitions from here · click to send

Context

{
  "mode": "uncontrolled",
  "seeded": false,
  "lines": [],
  "nextIndex": 0,
  "filters": {
    "INFO": true,
    "WARN": true,
    "ERR": true,
    "OK": true,
    "DBG": true
  }
}

Log · newest first

No events yet — use the component above or send a transition.

Explore the layers

Machine (@grassroot/ui-machines/log-stream). Headless: five adapters plus mountLogStream. Spec: packages/ui-headless/core/src/log-stream/log-stream.spec.md.

Behaviour contract

Following is the default. Pause is explicit. Filters are machine-owned predicates, not DOM queries.

Anatomy

root, viewport, keyed item.