What can we do for you?
Using Net 10 and AdvancedSharpAdbClient 3.5.15. Attempting to read log stream like "adb shell logcat". When I have code use AdbClient to run "shell logcat", it behaves as expected with a continuing output stream of log messages. When I use RunLogServiceAsync, it executes its message action callback a couple thousand times then the stream exits. If I restart the RunLogServiceAsync, I get the same behavior again with exactly the same messages duplicated. How is this function supposed to be called to generate a continuous steam of LogEntry message callbacks? This is how I am using the service now:
await Adb.Client.RunLogServiceAsync(deviceData, LogMsgAction, ctok, [LogId.Default]);
log.Trace($"Android log stream ended");
private void LogMsgAction(LogEntry entry)
{
log.Trace($"Android log stream received entry: {entry}");
}