/axiom:console
Capture iOS simulator console output (print + os_log) using xclog.
Command
bash
/axiom:consoleWhat It Does
Guides you through capturing simulator console output:
- Discovers installed apps via
xclog list - Asks which app to capture (or uses the one you specified)
- Launches capture with bounded defaults (
--timeout 30s --max-lines 200) - Presents output with errors and faults highlighted
When to Use
- You need to see what an app is printing to the console
- Diagnosing a runtime crash — need logs leading up to it
- Investigating silent failures with no UI feedback
- Quick console check during development
Usage Tips
- Use
--filter "error|warning"to focus on problems - Use
--subsystem com.example.MyAppto filter by your app's logging subsystem - Use
--timeout 60sfor longer capture sessions - Use
--output /tmp/console.logto save for later analysis
Related
- xclog Reference — full tool documentation with JSON schema and workflows
- Xcode Debugging — for build-time issues (xclog is for runtime)