Skip to content

docs(web): clarify tui plugin logging#32502

Open
hcsum wants to merge 2 commits into
anomalyco:devfrom
hcsum:plugin-log-routing
Open

docs(web): clarify tui plugin logging#32502
hcsum wants to merge 2 commits into
anomalyco:devfrom
hcsum:plugin-log-routing

Conversation

@hcsum

@hcsum hcsum commented Jun 16, 2026

Copy link
Copy Markdown

Issue for this PR

Related to #31219, can prevent some of it, but not a fix

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This updates the English plugin docs to stop recommending console.log() in the quickstart example.

It replaces that example with client.app.log() and adds a short note explaining that TUI plugins share the client's terminal session, so console.log() and console.error() can disrupt the input area.

How did you verify your code works?

I verified the change by checking the rendered docs source locally in the repo and confirming the final PR diff only changes the English plugins.mdx page.

Screenshots / recordings

N/A

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jun 16, 2026
@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jun 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant