log
Reads a DAOLib log (in Documents\BioWare\Dragon Age\daolib) from a cursor. Returns the lines written since since, and next, the cursor to read from next time. restarted is true when the file began again because the game restarted. Without file, lists the logs.
Read-only: it changes nothing in the game.
Arguments
| Name | Type | Required | What |
|---|---|---|---|
file | string | The log’s name: “loader”, “eluvian”, a mod’s, or any other in the folder. Omit to list the logs. | |
since | any | The byte cursor to read from: next from the last read. “end” reads nothing and returns the end as next, to read from after acting. Default: the start of the file. | |
grep | string | Keep only the lines this regular expression matches. | |
limit | integer (≥ 1, ≤ 5000) | The most lines to return. Default 300. |
Call it as log over MCP, or POST /api/tool/log with the arguments as JSON.