loghound library
Classes
- JsonlLogStore
- A newline-delimited JSON store for local log records.
- LogHound
- Static bootstrap and event helpers for app code.
- LogHoundAppSummary
- Summary of an app discovered in a routed log store.
- LogHoundCapture
- Controls which development signals LogHound.run captures automatically.
- LogHoundClient
- Fire-and-forget client for emitting structured records as VM Service events.
- LogHoundDirectoryStore
- Routes records into a flavor/platform/session directory tree.
- LogHoundQuery
- Filters JSONL log records by common log metadata and text content.
- LogHoundRedactor
- Redacts common secret keys and token-like values from log records.
- LogHoundRoute
- Sanitized app metadata plus flavor/platform/session routing for one record.
- LogHoundSession
- Emits structured records for one app session.
- LogHoundSessionConfig
- Metadata stamped onto every record in a loghound session.
- LogHoundSessionSummary
- Summary of a session discovered in a routed log store.
- LogHoundVmServiceEvent
- One extension event received from a Dart VM Service stream.
Constants
- logHoundVmServiceEventKind → const String
- Extension event kind used for hidden loghound log transport.
Functions
-
logHoundDecodeVmServiceEvent(
LogHoundVmServiceEvent event, {String eventKind = logHoundVmServiceEventKind}) → Map< String, Object?> ? - Decodes a loghound VM Service extension event into a log record.
-
logHoundVmServiceWebSocketUri(
String serviceUri) → Uri -
Converts a Flutter VM Service HTTP URI into the websocket URI used by
package:vm_service.
Typedefs
-
LogHoundRecordSender
= void Function(Map<
String, Object?> record) - Sends one fully assembled log record.
-
LogHoundVmServiceEventSink
= void Function(String eventKind, Map<
String, Object?> eventData) - Posts one VM Service extension event.