From a4c2a6b91c54545e0a9f0f52801d0576cd6520ed Mon Sep 17 00:00:00 2001 From: PJ Date: Sun, 16 Aug 2026 01:23:04 +0530 Subject: [PATCH] docs(driver): state the log level scale on LogEntry Claude-Session: https://claude.ai/code/session_01ShuAy8q8ZfPi8KHxwc8JpQ --- internal/driver/driver.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/internal/driver/driver.go b/internal/driver/driver.go index 649d673..ca9366d 100644 --- a/internal/driver/driver.go +++ b/internal/driver/driver.go @@ -82,6 +82,12 @@ type FocusedWindowChecker interface { FocusedWindowApp(ctx context.Context) (string, error) } +// LogEntry is one line of device log. Level is logcat's single-letter scale on +// every platform: "V", "D", "I", "W", "E", "F", ordered as written. The runner +// fetches at "E" and the default properties count entries whose level equals +// "E", so a driver that spells a level any other way empties the channel +// without failing anything: the entries never arrive and every property reading +// state.logs holds vacuously. type LogEntry struct { UnixMillis int64 Level string