Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Read Android device logs in real-time via adb logcat using a C++ or Python backend with generator-style streaming output.
Read Android device logs in real-time via adb logcat using a C++ or Python backend with generator-style streaming output.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
This module provides real-time Android device log reading capabilities via the adb logcat command.
from pywayne.adb.logcat_reader import AdbLogcatReader # Create reader (default C++ backend) reader = AdbLogcatReader() # Start log capture and read reader.start() for line in reader.read(): print(line)
reader = AdbLogcatReader(backend='python') reader.start() for line in reader.read(): print(line) # Stop and cleanup reader.stop()
# C++ backend (default, faster) reader = AdbLogcatReader() # Python backend (alternative, may be more compatible) reader = AdbLogcatReader(backend='python')
The read() method yields log lines incrementally as a generator, suitable for processing large logs or real-time monitoring. # Process logs as they arrive for line in reader.read(): # Filter, parse, store...
PropertyDescriptionbackend'cpp' or 'python'runningWhether logcat process is running
MethodDescriptionstart()Start adb logcat processread()Generator yielding log linesstop()Stop logcat processget_backend()Get active backend type
Uses native C++ implementation Faster performance for real-time streaming Better compatibility with adb logcat
Uses Python subprocess to call adb More compatible across different environments Easier debugging and integration
C++ backend is faster and recommended for production Python backend may be useful during development stop() terminates adb logcat; use Ctrl+C to send interrupt signal Logs are cleared automatically when process stops
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.