ios-android-logs

Filter iOS and Android device logs in Capacitor apps using CLI tools.

Updated Dec 5, 2024
One-click install
npx skills add https://github.com/yeohj0710/wellnessbox --skill ios-android-logs-yeohj0710
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-android-logs
Source: https://github.com/yeohj0710/wellnessbox/tree/main/.agents/skills/ios-android-logs
Command: npx skills add https://github.com/yeohj0710/wellnessbox --skill ios-android-logs-yeohj0710

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide provides a complete method for accessing and filtering device logs on iOS and Android to support debugging Capacitor apps, including real-time streaming, filtering by app or device, and both CLI and GUI approaches.

Core Features & Use Cases

  • Stream logs from connected devices and simulators (iOS and Android)
  • Filter logs by process, subsystem, tag, level, or package
  • Use real-time streaming for debugging crashes and performance issues across devices

Quick Start

Stream logs from a connected iOS device using the recommended CLI method to begin real-time log monitoring.

Frequently Asked Questions about ios-android-logs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I view device logs for Capacitor apps on iOS and Android?

To view device logs for Capacitor apps, you can use CLI tools like xcrun and adb, or GUI utilities, to stream and filter real-time logs from connected physical devices and simulators.

What is the best way to filter iOS and Android logs when debugging crashes?

The best way to filter logs when debugging crashes is by applying log predicates to filter by process, subsystem, tag, level, or package using tools like xcrun, simctl, and adb.

Can I monitor real-time log streams from physical devices and simulators?

Yes, you can monitor real-time log streams from physical devices and simulators by using recommended CLI methods to begin real-time streaming for debugging performance issues.

Does this logging approach support programmatic log access via MCP integration?

Yes, this logging approach supports MCP integration for programmatic log access, allowing automated retrieval and filtering of iOS and Android device logs for Capacitor apps.

Do I need specific CLI tools to stream logs from connected iOS devices?

To stream logs from connected iOS devices, you need CLI tools like xcrun and simctl, or you can use GUI utilities as an alternative for real-time log monitoring.