con un clic
uloop-clear-console
// Clear Unity Console entries. Use before compile, tests, or debugging when stale logs would hide the current result.
// Clear Unity Console entries. Use before compile, tests, or debugging when stale logs would hide the current result.
Use when Unity Editor is not running or needs a clean restart.
Compile the Unity project and report errors/warnings. Use after C# edits or when a full Domain Reload compile is needed.
Control Unity Editor Play Mode. Use to start, stop, or pause Play Mode for runtime behavior checks and frame inspection.
Execute C# with Unity APIs when existing uloop tools cannot inspect or edit enough. Use for scene, prefab, SerializedObject, AssetDatabase refresh/.meta generation, menu, or PlayMode automation.
Find or inspect Unity GameObjects, especially objects the user currently selected in the Hierarchy. Use for details, components, tags, layers, or name/path searches.
Get the Unity scene hierarchy as a structured tree. Use for parent-child structure, descendants, roots, or subtrees under objects the user currently selected.
| name | uloop-clear-console |
| description | Clear Unity Console entries. Use before compile, tests, or debugging when stale logs would hide the current result. |
Clear Unity console logs.
uloop clear-console [--add-confirmation-message]
| Parameter | Type | Default | Description |
|---|---|---|---|
--add-confirmation-message | boolean | false | Add confirmation message after clearing |
| Option | Description |
|---|---|
--project-path <path> | Optional. Use only when the target Unity project is not the current directory. |
# Clear console
uloop clear-console
# Clear with confirmation
uloop clear-console --add-confirmation-message
Returns JSON with:
Success (boolean): Whether the clear operation succeededClearedLogCount (number): Total number of log entries that were clearedClearedCounts (object): Breakdown by log type
ErrorCount (number): Errors clearedWarningCount (number): Warnings clearedLogCount (number): Info logs clearedMessage (string): Description of the result; carries the failure summary when the operation fails (e.g. "Failed to clear console: ...")ErrorMessage (string): Currently always empty for this tool — read Message for failure details