uloop-clear-console

Clear Unity console logs via uloop CLI. Use when you need to: (1) Clear the console before running tests, (2) Start a fresh debugging session, (3) Clean up log output for better readability.

uloop
clear
console

SKILL.md

GitHub

uloop clear-console

Clear Unity console logs.

Usage

uloop clear-console [--add-confirmation-message]

Parameters

Parameter Type Default Description
--add-confirmation-message flag - Add confirmation message after clearing

Output

Returns JSON with:

  • Success (boolean): Whether the clear operation succeeded
  • ClearedLogCount (number): Total number of log entries that were cleared
  • ClearedCounts (object): Breakdown by log type
    • ErrorCount (number): Errors cleared
    • WarningCount (number): Warnings cleared
    • LogCount (number): Info logs cleared
  • Message (string): Description of the result. On failure, this field carries the error summary.