金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

uloop-get-logs

uloop-get-logs 是面向效率工具的 Agent Skill,来自 hatayama/uLoopMCP。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Get Unity Console output including errors, warnings, and Debug.Log messages. Use when you need to: (1) Check for compile errors or runtime exceptions after code changes, (2) See what Debug.Log printed during execution, (3) Find NullReferenceException, MissingComponentException, or other error messages, (4) Investigate why something failed in Unity Editor.

SKILL.md

下载 MD ↓
nameuloop-get-logs
descriptionGet Unity Console output including errors, warnings, and Debug.Log messages. Use when you need to: (1) Check for compile errors or runtime exceptions after code changes, (2) See what Debug.Log printed during execution, (3) Find NullReferenceException, MissingComponentException, or other error messages, (4) Investigate why something failed in Unity Editor.

uloop get-logs

Retrieve logs from Unity Console.

Usage

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

# 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.

来源:hatayama/uLoopMCP · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本