首页/ AI 技能 / @skilllib/skill-2014279401582571521
Skill站外收录 @skilllib/skill-2014279401582571521

uloop-get-logs

读取 Unity 控制台中的日志信息,支持按类型筛选错误、警告或普通输出,可限定返回数量并基于文本或正则表达式进行内容搜索,适用于调试问题与分析运行时输出。

0.0 (0) 180 次安装 原作者 编程导航
收录于 2026-01-22
效率工具 AI 技能

Skills.MD

# uloop get-logs Retrieve logs from Unity Console. ## Usage ```bash uloop get-logs [options] ``` ## Parameters | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | `--log-type` | string | `All` | Log type filter: `Error`, `Warning`, `Log`, `All` | | `--max-count` | integer | `100` | Maximum number of logs to retrieve | | `--search-text` | string | - | Text to search within logs | | `--include-stack-trace` | boolean | `false` | Include stack trace in output | | `--use-regex` | boolean | `false` | Use regex for search | | `--search-in-stack-trace` | boolean | `false` | Search within stack trace | ## Examples ```bash # Get all logs uloop get-logs # Get only errors uloop get-logs --log-type Error # Search for specific text uloop get-logs --search-text "NullReference" # Regex search uloop get-logs --search-text "Missing.*Component" --use-regex ``` ## Output Returns JSON array of log entries with message, type, and optional stack trace.

评论 0

还没有评论,来抢沙发。