Clears all recorded entries and dedup state.
Optionaloptions: LogOptionsOptionaloptions: LogOptionsThe recorded entries, in order.
Optionaloptions: LogOptionsOptionaloptions: LogOptionsA flat, human-readable dump of all entries - suitable as a tool-call payload.
Optionaloptions: LogOptions
Collecting ILogger backing - records entries in memory instead of writing them out.
A host (e.g. the MCP server running a macro in scratch mode) installs this, runs the script, then returns toString (or getEntries) as the captured output payload.