loghound 0.0.1
loghound: ^0.0.1 copied to clipboard
AI-friendly local log investigation harness for Dart and Flutter: receive logs over local HTTP, store them as JSON Lines, and query the exact slice you need.
example/README.md
loghound examples #
Start a local receiver first:
dart run loghound:loghound stay --host 127.0.0.1 --port 8765 --root logs/loghound
Then try one of these examples:
client.dart: sends a single JSON log withLogHoundClient.flutter_bootstrap.dart: shows the minimalLogHound.runsetup used by Flutter apps.
Minimal app setup:
import 'package:loghound/loghound.dart';
void main() {
LogHound.run(
appId: 'guide-app',
flavor: 'staging',
app: () {
LogHound.action('app.started');
},
);
}