MeshLogRepositoryImpl
open class MeshLogRepositoryImpl(dbManager: DatabaseProvider, dispatchers: CoroutineDispatchers, meshLogPrefs: MeshLogPrefs, nodeInfoReadDataSource: NodeInfoReadDataSource) : MeshLogRepository(source)
Repository implementation for managing and retrieving logs from the local database.
This repository provides methods for inserting, deleting, and querying logs, including specialized methods for telemetry and traceroute data.
Constructors
Link copied to clipboard
constructor(dbManager: DatabaseProvider, dispatchers: CoroutineDispatchers, meshLogPrefs: MeshLogPrefs, nodeInfoReadDataSource: NodeInfoReadDataSource)
Functions
Link copied to clipboard
Link copied to clipboard
Prunes the log database based on the configured retentionDays.
Link copied to clipboard
Link copied to clipboard
Retrieves all MeshLogs in the database in the order they were received.
Link copied to clipboard
Retrieves all MeshLogs in the database without any limit.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the cached MyNodeInfo from the system logs.
Link copied to clipboard
Retrieves all outgoing request logs for a specific targetNodeNum and portNum.
Link copied to clipboard
Retrieves telemetry history for a specific node, automatically handling local node redirection.