Console logs
preview_console_logs- Group
- Preview
- Turned on by
- Its own switch on the Tools page of Conversation settings.
- Approval
- Reviewed: writes and open-ended actions ask for approval unless the security level or an earlier “Always allow” covers them.
- Profile key
tool.preview_console_logs.description
Reads the browser console of the conversation's preview page: console messages, uncaught errors and unhandled promise rejections.
log, info and debug messages appear only with level: "all". The entries live in the page, so a reload or navigation clears them. For the dev server's own output, see preview_logs.
When it asks you
Asks at Manual and Accept edits, because console lines can carry tokens from a signed-in page; Always allow is not offered. If you have been using the page yourself, the pane asks you to give it back. If the page is signed in to a site, Mewrk first asks you to approve the takeover, at every security level. See Browser and preview.
Limits
The page keeps its last 200 entries, each cut at 8,000 characters.
Parameters
| Parameter | Type | Details |
|---|---|---|
levelLevel | string | 'warn' includes errors."all" "error" "warn" |
linesLine limit | number | Default 50. |
serverIdServer ID | string | Server ID |