mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 11:07:10 +00:00
docs(ioscompanion): name the vacuity behind the empty log slice
Claude-Session: https://claude.ai/code/session_01ShuAy8q8ZfPi8KHxwc8JpQ
This commit is contained in:
1 parent
fdc616247a
commit
546c80885e
1 file changed
+4
-1
@@ -1084,7 +1084,10 @@ func (d *Driver) WaitForIdle(ctx context.Context, _ time.Duration) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// RecentLogs returns no entries: the companion log RPC is a follow-up, so v1
|
// RecentLogs returns no entries: the companion log RPC is a follow-up, so v1
|
||||||
// reports an empty slice rather than failing.
|
// reports an empty slice rather than failing. Every property reading state.logs
|
||||||
|
// therefore holds vacuously on iOS and nothing says so; closing it means
|
||||||
|
// tailing idb's streaming log RPC and mapping os_log levels onto the
|
||||||
|
// single-letter scale driver.LogEntry declares.
|
||||||
func (d *Driver) RecentLogs(_ context.Context, _ time.Time, _ string) ([]driver.LogEntry, error) {
|
func (d *Driver) RecentLogs(_ context.Context, _ time.Time, _ string) ([]driver.LogEntry, error) {
|
||||||
return []driver.LogEntry{}, nil
|
return []driver.LogEntry{}, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user