app_logs
Capture iOS app logs by starting or reusing log hooks, then read filtered pages from a bounded on-device ring buffer without waiting; stop hooks when finished.
Instructions
Start/reuse app log hooks and read one filtered page from a bounded on-device ring. Pass after=next_cursor; default 20 entries, no waiting. os_log/NSLog expose format strings; NSLogv and stdio expose rendered text. Sources/buffer options apply when starting. Stop removes hooks; an active log stream keeps the session alive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| level | No | ||
| limit | No | ||
| action | No | read | |
| sources | No | ||
| wait_ms | No | ||
| capacity | No | ||
| contains | No | ||
| bundle_id | Yes | ||
| device_id | Yes | ||
| max_message_length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| elapsed_ms | Yes | ||
| request_id | Yes |