Skip to content

docs: logging example fix to go sdk observability page#4393

Open
ptdewey wants to merge 1 commit intotemporalio:mainfrom
ptdewey:push-rospuqzvumwk
Open

docs: logging example fix to go sdk observability page#4393
ptdewey wants to merge 1 commit intotemporalio:mainfrom
ptdewey:push-rospuqzvumwk

Conversation

@ptdewey
Copy link
Copy Markdown

@ptdewey ptdewey commented Apr 6, 2026

What does this PR do?

Replaces the deprecated logur/Logrus custom logger example with the SDK's built-in log.NewStructuredLogger() + slog approach (available since Go SDK v1.25.0). Adds a zap-via-zapslog example showing how any third-party logger with an slog.Handler can be bridged, and a pointer to the samples-go zap adapter for direct log.Logger implementations.

Closes #4356

Screenshot of relevant section:
image

┆Attachments: EDU-6165 docs: logging example fix to go sdk observability page

@ptdewey ptdewey requested a review from a team as a code owner April 6, 2026 20:25
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 6, 2026

@ptdewey is attempting to deploy a commit to the Temporal Team on Vercel.

A member of the Team first needs to authorize it.

@ptdewey ptdewey force-pushed the push-rospuqzvumwk branch from a167d99 to 3d9d970 Compare April 9, 2026 12:44
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.

Go SDK "Custom Logger" docs recommend deprecated logur library

2 participants