LogTapHost
The device side of a log tap: a peer that offers its captured logs for extraction.
An app that wants its logs to be reachable from a test or CI process calls installLogTap once. From then on the device hosts a small session that another peer can join and pull the logs out of — handy on a phone or simulator where logs are otherwise hard to get at. Until installLogTap is called, nothing is opened and no session exists: the tap is entirely opt-in.
Under the surface the host rides a us.tractat.kuilt.quilter.Quilter over the woven Seam, replicating the device's log buffer (an Rga<LogRecord>) to whoever joins. Replication is idempotent and order-preserving by construction, so a puller that reconnects never sees a duplicate or a gap.
Close the returned host to stop offering logs and release the replicator.
Properties
Functions
Offer any newly captured records for replication now, without waiting for the next LogTapConfig.syncInterval tick.