mcpField
U
uloop-get-logs

uloop-get-logs

github.com/hatayamaDevelopment58640 installsUpdated 1d ago
Repository

About uloop-get-logs

uloop-get-logs is a command-line skill for retrieving Unity Console logs. It filters by type or search text and can include stack traces in the JSON output.

Key features

  1. 01Filter logs by type
  2. 02Search message text
  3. 03Search with regular expressions
  4. 04Include or search stack traces
  5. 05Limit the number of returned logs

Use cases

  1. 01Find errors or warnings in Console logs
  2. 02Search logs for a specific message
  3. 03Review stack traces for matching entries

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hatayama/unity-cli-loop --skill uloop-get-logs

After installing, type/uloop-get-logsin Claude Code to confirm it loaded.

Details

From the project README

uloop get-logs

Retrieve logs from Unity Console.

Usage

uloop get-logs [options]

Parameters

ParameterTypeDefaultDescription
--log-typestringAllLog type filter: Error, Warning, Log, All
--max-countinteger100Maximum number of logs to retrieve
--search-textstring-Text to search within logs
--include-stack-traceflag-Include stack trace in output
--use-regexflag-Use regex for search
--search-in-stack-traceflag-Search within stack trace

Output

Returns JSON with:

  • TotalCount (number): Total logs available before max-count clipping
  • DisplayedCount (number): Logs returned in this response (≤ --max-count)
  • Input filters (LogType, MaxCount, SearchText, IncludeStackTrace) are echoed back in the response
  • Logs (array): Each entry has:
    • Type (string): "Error", "Warning", or "Log"
    • Message (string): Log message body
    • StackTrace (string): Stack trace text. Empty when --include-stack-trace is false.

Comments

Markdown supported