dumpLogs
Pull the device's captured logs and hand them to emit twice over: first as human-readable lines (via describe), then as the machine-readable NDJSON the CI harness can save as an artifact.
emit defaults to printing to stdout, which surfaces the lines in a test runner's captured output; pass a sink-, file-, or logger-backed emitter to route them elsewhere. A failure to pull (e.g. the device never connected) is reported through emit rather than thrown, so a dump never masks the original test failure.