rpc_dart_log_server library

Server-side library for rpc_dart_log.

Use LogCollectorServer to receive logs from remote clients. Use LogCollectorConsole for terminal rendering with device labels.

Classes

DeviceConnected
DeviceDisconnected
DeviceInfo
Device information sent by the client during handshake.
LogCollectorConnectionEvent
Event emitted when a device connects or disconnects.
LogCollectorConsole
Terminal renderer for logCollector. Prints tagged log records with device labels and ANSI colors.
LogCollectorMcpBuffer
Holds buffered log records and exposes MCP query methods.
LogCollectorMcpServer
MCP server that exposes log collector data to AI assistants via HTTP.
LogCollectorServer
Core logCollector server. Accepts WebSocket connections, receives log records via rpc_dart contracts, and feeds them into a LogController.
LogCollectorSession
A connected client session.
TaggedRecord
Wraps a LogRecord with the device label for display.