Skip to content

Handle patching of sys.stdout better - #1840

Merged
alexmojaki merged 1 commit into
mainfrom
alex/console-stdout
Apr 8, 2026
Merged

alexmojaki merged 1 commit into
mainfrom
alex/console-stdout

Conversation

@alexmojaki

Copy link
Copy Markdown
Contributor

This way the console exporter uses whatever sys.stdout is at the time of use. The places where self._output are used already default to sys.stdout, notably print.

@alexmojaki
alexmojaki enabled auto-merge (squash) April 8, 2026 11:49
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6f7e125
Status: ✅  Deploy successful!
Preview URL: https://812f4e58.logfire-docs.pages.dev
Branch Preview URL: https://alex-console-stdout.logfire-docs.pages.dev

View logs

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@alexmojaki
alexmojaki merged commit 80f5a5d into main Apr 8, 2026
16 of 17 checks passed
@alexmojaki
alexmojaki deleted the alex/console-stdout branch April 8, 2026 11:56
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