Read Desynced game logs
get_game_logsFetch recent Desynced game logs to diagnose Lua errors, warnings, and print output. Filter lines by regex for targeted debugging.
Instructions
Tail the newest Desynced log file (game must run with -log for a log file to be written; -moddev recommended too). Shows Lua errors, warnings and print() output. Optionally filter lines by regex.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | How many lines from the end | |
| filter | No | Regex to filter lines, e.g. 'error|warning|Lua' |