MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / _print_console_entries

Function _print_console_entries

unity_cli/cli/commands/console.py:152–157  ·  view source on GitHub ↗
(entries: list[dict[str, Any]], include_stacktrace: bool)

Source from the content-addressed store, hash-verified

150
151
152def _print_console_entries(entries: list[dict[str, Any]], include_stacktrace: bool) -> None:
153 for entry in entries:
154 print_line(f"{entry.get('timestamp', '')} {entry.get('type', 'log')} {entry.get('message', '')}")
155 if include_stacktrace and entry.get("stackTrace"):
156 for st_line in entry["stackTrace"].split("\n"):
157 print_line(f" {st_line}")
158
159
160@console_app.command("clear")

Callers 1

console_getFunction · 0.85

Calls 2

print_lineFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected