MeshLogRepository
Repository interface for managing and retrieving logs from the database.
This component provides access to the application's message log, telemetry history, and debug records. It supports reactive queries for packets, telemetry data, and node-specific logs.
This interface is shared across platforms via Kotlin Multiplatform (KMP).
Functions
Prunes the log database based on the configured retentionDays.
Retrieves all MeshLogs in the database, up to maxItem.
Retrieves all MeshLogs in the database in the order they were received.
Retrieves all MeshLogs in the database without any limit.
Retrieves all MeshLogs containing MeshPackets for a specific nodeNum.
Returns the cached MyNodeInfo from the system logs.
Retrieves all outgoing request logs for a specific targetNodeNum and portNum.
Retrieves telemetry history for a specific node, automatically handling local node redirection.