get_logs
Retrieve recent log messages from a PySide6 app's Python logging system, with timestamps, levels, logger names, and messages, to debug issues without modifying source code.
Instructions
Get the last n log messages captured from the app's Python logging system. Includes timestamp, level, logger name, and message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| pid | No | App pid from launch_app. Omit to target the last launched app. Required only when several apps are running and you need a specific one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |