core/commands/syslog/syslog library
Classes
- SyslogError
- A platform-level or validation error prevented syslog from running.
- SyslogResult
- SyslogStream
- The subprocess was started successfully.
- SyslogToolMissing
- A required platform tool was not found on PATH.
Functions
-
runSyslog(
SyslogInput input) → Future< SyslogResult> - Reads native system logs from the device under debug.
-
streamSyslogProcess(
Process process, {required String? predicate, required int? last, required bool follow}) → Future< SyslogResult> -
Turns a started log process (
adb logcat,log,idevicesyslog) into a SyslogStream. Output is decoded as UTF-8 with malformed bytes replaced, because device logs can contain arbitrary bytes.